diff options
Diffstat (limited to 'framework')
-rw-r--r-- | framework/inc/uielement/toolbarwrapper.hxx | 1 | ||||
-rw-r--r-- | framework/source/uielement/toolbarwrapper.cxx | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/framework/inc/uielement/toolbarwrapper.hxx b/framework/inc/uielement/toolbarwrapper.hxx index 57611c6585ad..37c94d756abd 100644 --- a/framework/inc/uielement/toolbarwrapper.hxx +++ b/framework/inc/uielement/toolbarwrapper.hxx @@ -74,7 +74,6 @@ class ToolBarWrapper : public ::com::sun::star::ui::XUIFunctionListener, private: com::sun::star::uno::Reference< com::sun::star::lang::XComponent > m_xToolBarManager; - com::sun::star::uno::Reference< com::sun::star::awt::XWindow > m_xToolBarWindow; }; } diff --git a/framework/source/uielement/toolbarwrapper.cxx b/framework/source/uielement/toolbarwrapper.cxx index a9d21cf0bbbb..20cf3db07e44 100644 --- a/framework/source/uielement/toolbarwrapper.cxx +++ b/framework/source/uielement/toolbarwrapper.cxx @@ -110,7 +110,6 @@ void SAL_CALL ToolBarWrapper::dispose() throw ( RuntimeException ) m_xToolBarManager.clear(); m_xConfigSource.clear(); m_xConfigData.clear(); - m_xToolBarWindow.clear(); m_bDisposed = sal_True; } @@ -155,7 +154,6 @@ void SAL_CALL ToolBarWrapper::initialize( const Sequence< Any >& aArguments ) th sal_uLong nStyles = WB_LINESPACING | WB_BORDER | WB_SCROLL | WB_MOVEABLE | WB_3DLOOK | WB_DOCKABLE | WB_SIZEABLE | WB_CLOSEABLE; pToolBar = new ToolBar( pWindow, nStyles ); - m_xToolBarWindow = VCLUnoHelper::GetInterface( pToolBar ); pToolBarManager = new ToolBarManager( comphelper::getComponentContext(m_xServiceFactory), xFrame, m_aResourceURL, pToolBar ); pToolBar->SetToolBarManager( pToolBarManager ); m_xToolBarManager = Reference< XComponent >( static_cast< OWeakObject *>( pToolBarManager ), UNO_QUERY ); |