diff options
author | Jan Holesovsky <kendy@suse.cz> | 2013-04-09 14:53:21 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2013-04-09 17:48:10 +0200 |
commit | 36afd52a76973aad60f7aaa934f8d978bc709681 (patch) | |
tree | 53f5dac6054a5f35ffe627fe9d31cdb69a6f7509 | |
parent | c0fb2954f3117b610197feda237bf97d99dbf778 (diff) |
m_xToolBarWindow is apparently unused.
Change-Id: I0f69401c46a2b3a362b7481acacc748d103faa30
-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 ); |