diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-21 12:22:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-22 08:50:41 +0200 |
commit | 3ff8ecb53ed53d138b4e435d6d048d8abb6cb0e9 (patch) | |
tree | 4f75a19d3f4f071cdf600fe1c302f3c14c935682 /extensions | |
parent | 760a7791a2d4d389d91dd35deb65dc72ff9d4f6a (diff) |
loplugin:unusedfields in extensions..framework
Change-Id: I687c67c8f3c0e03c6ab2da0a93a9e62f0caf12cd
Reviewed-on: https://gerrit.libreoffice.org/40292
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/bibliography/bibbeam.cxx | 3 | ||||
-rw-r--r-- | extensions/source/bibliography/bibbeam.hxx | 1 | ||||
-rw-r--r-- | extensions/source/bibliography/bibcont.cxx | 9 | ||||
-rw-r--r-- | extensions/source/bibliography/bibcont.hxx | 3 | ||||
-rw-r--r-- | extensions/source/bibliography/framectr.cxx | 3 | ||||
-rw-r--r-- | extensions/source/bibliography/framectr.hxx | 1 |
6 files changed, 0 insertions, 20 deletions
diff --git a/extensions/source/bibliography/bibbeam.cxx b/extensions/source/bibliography/bibbeam.cxx index 4637a3f41c62..5b69893dfe72 100644 --- a/extensions/source/bibliography/bibbeam.cxx +++ b/extensions/source/bibliography/bibbeam.cxx @@ -203,9 +203,6 @@ namespace bib if ( isFormConnected() ) disconnectForm(); - if ( m_xToolBarRef.is() ) - m_xToolBarRef->dispose(); - if ( pToolBar ) pDatMan->SetToolbar(nullptr); diff --git a/extensions/source/bibliography/bibbeam.hxx b/extensions/source/bibliography/bibbeam.hxx index b69aa41b8fe9..21d557dd711b 100644 --- a/extensions/source/bibliography/bibbeam.hxx +++ b/extensions/source/bibliography/bibbeam.hxx @@ -45,7 +45,6 @@ namespace bib private: css::uno::Reference< css::frame::XController > m_xController; - css::uno::Reference< css::frame::XFrame > m_xToolBarRef; BibDataManager* pDatMan; VclPtr<BibToolBar> pToolBar; diff --git a/extensions/source/bibliography/bibcont.cxx b/extensions/source/bibliography/bibcont.cxx index 9266949b1159..f06869b2e314 100644 --- a/extensions/source/bibliography/bibcont.cxx +++ b/extensions/source/bibliography/bibcont.cxx @@ -126,11 +126,6 @@ BibBookContainer::~BibBookContainer() void BibBookContainer::dispose() { - if( xTopFrameRef.is() ) - xTopFrameRef->dispose(); - if( xBottomFrameRef.is() ) - xBottomFrameRef->dispose(); - if( pTopWin ) { VclPtr<vcl::Window> pDel = pTopWin; @@ -166,8 +161,6 @@ IMPL_LINK_NOARG( BibBookContainer, SplitHdl, Timer*, void) void BibBookContainer::createTopFrame( BibShortCutHandler* pWin ) { - if ( xTopFrameRef.is() ) xTopFrameRef->dispose(); - if(pTopWin) { RemoveItem(TOP_WINDOW); @@ -183,8 +176,6 @@ void BibBookContainer::createTopFrame( BibShortCutHandler* pWin ) void BibBookContainer::createBottomFrame( BibShortCutHandler* pWin ) { - if ( xBottomFrameRef.is() ) xBottomFrameRef->dispose(); - if(pBottomWin) { RemoveItem(BOTTOM_WINDOW); diff --git a/extensions/source/bibliography/bibcont.hxx b/extensions/source/bibliography/bibcont.hxx index 996c408340ef..8574f36dc4ba 100644 --- a/extensions/source/bibliography/bibcont.hxx +++ b/extensions/source/bibliography/bibcont.hxx @@ -64,9 +64,6 @@ class BibBookContainer: public BibSplitWindow { private: - css::uno::Reference< css::frame::XFrame > xTopFrameRef; - css::uno::Reference< css::frame::XFrame > xBottomFrameRef; - VclPtr<BibWindowContainer> pTopWin; VclPtr<BibWindowContainer> pBottomWin; HdlBibModul pBibMod; diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx index 4f7f811fb5a5..b5cfe93794b7 100644 --- a/extensions/source/bibliography/framectr.cxx +++ b/extensions/source/bibliography/framectr.cxx @@ -163,7 +163,6 @@ BibFrameController_Impl::BibFrameController_Impl( const uno::Reference< awt::XWi BibDataManager* pDataManager) :xWindow( xComponent ) ,m_xDatMan( pDataManager ) - ,pBibMod(nullptr) { bDisposing=false; bHierarchical=true; @@ -175,8 +174,6 @@ BibFrameController_Impl::~BibFrameController_Impl() { mxImpl->pController = nullptr; m_xDatMan.clear(); - if(pBibMod) - CloseBibModul(pBibMod); } OUString SAL_CALL BibFrameController_Impl::getImplementationName() diff --git a/extensions/source/bibliography/framectr.hxx b/extensions/source/bibliography/framectr.hxx index 7a46633c34db..524eb8ed0317 100644 --- a/extensions/source/bibliography/framectr.hxx +++ b/extensions/source/bibliography/framectr.hxx @@ -67,7 +67,6 @@ friend class BibFrameCtrl_Impl; bool bDisposing; bool bHierarchical; rtl::Reference<BibDataManager> m_xDatMan; - HdlBibModul pBibMod; DECL_LINK( DisposeHdl, void*, void ); |