diff options
author | fcolin | 2007-02-01 13:13:13 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 13:13:13 +0000 |
commit | ab15cfce0b453acf070c6c3715036017971dd524 (patch) | |
tree | 425d08a6436d7ad870a438273a314f739d2dda15 /comIvy | |
parent | 4e4c7697a33094f360e29ba203f116242b63896e (diff) | |
download | ivy-cplusplus-ab15cfce0b453acf070c6c3715036017971dd524.zip ivy-cplusplus-ab15cfce0b453acf070c6c3715036017971dd524.tar.gz ivy-cplusplus-ab15cfce0b453acf070c6c3715036017971dd524.tar.bz2 ivy-cplusplus-ab15cfce0b453acf070c6c3715036017971dd524.tar.xz |
Utilisateur : Fcolin Date : 7/06/04 Heure : 10:56 Archivé dans $/Bus/comIvy Commentaire: (vss 3)
Diffstat (limited to 'comIvy')
-rw-r--r-- | comIvy/Bus.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/comIvy/Bus.cpp b/comIvy/Bus.cpp index 393406a..66f2f2c 100644 --- a/comIvy/Bus.cpp +++ b/comIvy/Bus.cpp @@ -95,9 +95,7 @@ STDMETHODIMP CBus::Bind(BSTR regexp, IExpression** binding) HRESULT hRes = CExpression::CreateInstance(binding);
if ( hRes != S_OK ) return hRes;
CExpression* bind = (CExpression*)*binding;
- this->AddRef();
- bind->bus = this;
- bind->id = bus->BindMsg( regexpstr, bind );
+ bind->Bind( regexpstr, this );
delete regexpstr;
return hRes;
}
|