diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-26 13:31:46 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-26 13:31:46 +0300 |
commit | ec059f87f4b214a9e7590eb913abda6ad491c2e1 (patch) | |
tree | 8e7464c5de6f1dba01e430ea3905c4d84af1683c /dbaccess | |
parent | 45a5fdc7355ba7f6b94e9d754cbe3c39ebfbbaf1 (diff) |
WaE: illegal copy-initialization
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/dataaccess/databasedocument.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/core/dataaccess/databasedocument.cxx b/dbaccess/source/core/dataaccess/databasedocument.cxx index f11df1c5eb9a..abf96866b956 100644 --- a/dbaccess/source/core/dataaccess/databasedocument.cxx +++ b/dbaccess/source/core/dataaccess/databasedocument.cxx @@ -437,7 +437,7 @@ void lcl_uglyHackToStoreDialogeEmbedImages( const Reference< XStorageBasedLibrar sDialogUrl = sDialogUrl.concat( sLibraries[ i ] ).concat( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("." ) ) ).concat ( sDialogs[ j ] ).concat( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("?location=document") ) ); Reference< ::com::sun::star::awt::XControl > xDialog( xDlgPrv->createDialog( sDialogUrl ), UNO_QUERY ); - Reference< XInterface > xModel = xDialog->getModel(); + Reference< XInterface > xModel( xDialog->getModel() ); GraphicObject::InspectForGraphicObjectImageURL( xModel, vEmbedImgUrls ); } } @@ -1804,7 +1804,7 @@ void ODatabaseDocument::disposing() // the document. And upon closing, our controllers are closed, too { - uno::Reference<uno::XInterface> xUIInterface = m_xUIConfigurationManager; + uno::Reference<uno::XInterface> xUIInterface( m_xUIConfigurationManager ); aKeepAlive.push_back( xUIInterface ); } m_xUIConfigurationManager = NULL; @@ -1829,13 +1829,13 @@ void ODatabaseDocument::disposing() impl_disposeControllerFrames_nothrow(); { - uno::Reference<uno::XInterface> xModuleInterface = m_xModuleManager; + uno::Reference<uno::XInterface> xModuleInterface( m_xModuleManager ); aKeepAlive.push_back( xModuleInterface ); } m_xModuleManager.clear(); { - uno::Reference<uno::XInterface> xTitleInterface = m_xTitleHelper; + uno::Reference<uno::XInterface> xTitleInterface( m_xTitleHelper ); aKeepAlive.push_back( xTitleInterface ); } m_xTitleHelper.clear(); |