From 5372962696ba4271ffb6b2b230fab5261108af6b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 21 Sep 2018 21:12:16 +0100 Subject: unwind ItemWrapperHelper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I171150342e04bee6efd97f36f769a2c3d1db4bd7 Reviewed-on: https://gerrit.libreoffice.org/60887 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sfx2/source/dialog/tabdlg.cxx | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'sfx2') diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index d4bfaf1db24d..889fab6b5a13 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx @@ -32,7 +32,6 @@ #include #include #include -#include #include #include #include @@ -51,7 +50,6 @@ using namespace ::com::sun::star::uno; struct TabPageImpl { bool mbStandard; - sfx::ItemConnectionArray maItemConn; VclPtr mxDialog; SfxTabDialogController* mpDialogController; css::uno::Reference< css::frame::XFrame > mxFrame; @@ -213,15 +211,13 @@ void SfxTabPage::dispose() TabPage::dispose(); } -bool SfxTabPage::FillItemSet( SfxItemSet* rSet ) +bool SfxTabPage::FillItemSet( SfxItemSet* ) { - return pImpl->maItemConn.DoFillItemSet( *rSet, GetItemSet() ); + return false; } -void SfxTabPage::Reset( const SfxItemSet* rSet ) +void SfxTabPage::Reset( const SfxItemSet* ) { - pImpl->maItemConn.DoApplyFlags( rSet ); - pImpl->maItemConn.DoReset( rSet ); } void SfxTabPage::ActivatePage( const SfxItemSet& ) @@ -327,11 +323,6 @@ void SfxTabPage::ChangesApplied() { } -void SfxTabPage::AddItemConnection( sfx::ItemConnectionBase* pConnection ) -{ - pImpl->maItemConn.AddConnection( pConnection ); -} - void SfxTabPage::SetTabDialog(SfxTabDialog* pDialog) { pImpl->mxDialog = pDialog; -- cgit