diff options
author | Andreas Bregas <ab@openoffice.org> | 2009-11-30 13:04:15 +0000 |
---|---|---|
committer | Andreas Bregas <ab@openoffice.org> | 2009-11-30 13:04:15 +0000 |
commit | 688284d33ba975c3a20bb75b83afe89cf29e696a (patch) | |
tree | 5f16cc6d4b6f3ac74101eee77b1e40bda15dacf7 /basic/source | |
parent | bbc0c51356ee72bdfda91fd229d9da69b741db65 (diff) |
#i107263 Fixed service ctor search algorithm
Diffstat (limited to 'basic/source')
-rw-r--r-- | basic/source/classes/sbunoobj.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index a6ae8cac29af..b69c41e04c1f 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -3377,9 +3377,10 @@ SbxVariable* SbUnoService::Find( const String& rName, SbxClassType ) // Create and insert SbUnoServiceCtor SbxVariableRef xSbCtorRef = new SbUnoServiceCtor( aName, xCtor ); QuickInsert( (SbxVariable*)xSbCtorRef ); - pRes = xSbCtorRef; } } + + pRes = SbxObject::Find( rName, SbxCLASS_METHOD ); } } |