diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-11-17 11:53:54 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-11-17 11:53:54 +0000 |
commit | 8d8e704731fbd7ae2307eeb988f2d82591e4fc0b (patch) | |
tree | ada396d5125a8d05fd82ed3c56d85c1dc1496dc6 /framework/source/uielement/addonstoolbarwrapper.cxx | |
parent | INTEGRATION: CWS fwkbugfix03 (1.2.58); FILE MERGED (diff) | |
download | core-8d8e704731fbd7ae2307eeb988f2d82591e4fc0b.tar.gz core-8d8e704731fbd7ae2307eeb988f2d82591e4fc0b.zip |
INTEGRATION: CWS fwkbugfix03 (1.2.58); FILE MERGED
2004/09/13 14:42:57 cd 1.2.58.1: #117627# Fix build warning
Diffstat (limited to 'framework/source/uielement/addonstoolbarwrapper.cxx')
-rw-r--r-- | framework/source/uielement/addonstoolbarwrapper.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/uielement/addonstoolbarwrapper.cxx b/framework/source/uielement/addonstoolbarwrapper.cxx index 1552c74d9c4b..eb5177e71081 100644 --- a/framework/source/uielement/addonstoolbarwrapper.cxx +++ b/framework/source/uielement/addonstoolbarwrapper.cxx @@ -2,9 +2,9 @@ * * $RCSfile: addonstoolbarwrapper.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: obo $ $Date: 2004-07-06 17:00:20 $ + * last change: $Author: obo $ $Date: 2004-11-17 12:53:54 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -248,7 +248,7 @@ void SAL_CALL AddonsToolBarWrapper::initialize( const Sequence< Any >& aArgument } // XUIElement interface -Reference< XInterface > SAL_CALL AddonsToolBarWrapper::getRealInterface( ) throw (::com::sun::star::uno::RuntimeException) +Reference< XInterface > SAL_CALL AddonsToolBarWrapper::getRealInterface() throw (::com::sun::star::uno::RuntimeException) { ResetableGuard aLock( m_aLock ); @@ -258,7 +258,7 @@ Reference< XInterface > SAL_CALL AddonsToolBarWrapper::getRealInterface( ) thro if ( pToolBarManager ) { Window* pWindow = (Window *)pToolBarManager->GetToolBar(); - return VCLUnoHelper::GetInterface( pWindow ); + return Reference< XInterface >( VCLUnoHelper::GetInterface( pWindow ), UNO_QUERY ); } } |