diff options
Diffstat (limited to 'dbaccess/source/ui/app/AppController.cxx')
-rw-r--r-- | dbaccess/source/ui/app/AppController.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx index 1f6be558f551..21716791864d 100644 --- a/dbaccess/source/ui/app/AppController.cxx +++ b/dbaccess/source/ui/app/AppController.cxx @@ -2000,11 +2000,11 @@ Reference< XComponent > OApplicationController::openElementWithArguments( const if ( !aArguments.has( (::rtl::OUString)PROPERTY_SHOWMENU ) ) aArguments.put( (::rtl::OUString)PROPERTY_SHOWMENU, makeAny( (sal_Bool)sal_True ) ); - aDataSource <<= getDatabaseName(); + aDataSource <<= getDatabaseName(); } - Reference< XComponent > xComponent( pDesigner->openExisting( aDataSource, _sName, aArguments.getPropertyValues() ), UNO_QUERY ); - onDocumentOpened( _sName, _eType, _eOpenMode, xComponent, NULL ); + xRet.set( pDesigner->openExisting( aDataSource, _sName, aArguments.getPropertyValues() ) ); + onDocumentOpened( _sName, _eType, _eOpenMode, xRet, NULL ); } } break; |