summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-09-21 21:12:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-09-22 20:29:00 +0200
commit5372962696ba4271ffb6b2b230fab5261108af6b (patch)
treecb41f536f35de2d34c6d2fc3a5d1a16667dc856e /sfx2
parent32eac27a2c22aae63941479482ef21e8d75a5122 (diff)
unwind ItemWrapperHelper
Change-Id: I171150342e04bee6efd97f36f769a2c3d1db4bd7 Reviewed-on: https://gerrit.libreoffice.org/60887 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/tabdlg.cxx15
1 files changed, 3 insertions, 12 deletions
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 <sfx2/ctrlitem.hxx>
#include <sfx2/bindings.hxx>
#include <sfx2/sfxdlg.hxx>
-#include <sfx2/itemconnect.hxx>
#include <sfx2/viewsh.hxx>
#include <uitest/sfx_uiobject.hxx>
#include <unotools/viewoptions.hxx>
@@ -51,7 +50,6 @@ using namespace ::com::sun::star::uno;
struct TabPageImpl
{
bool mbStandard;
- sfx::ItemConnectionArray maItemConn;
VclPtr<SfxTabDialog> 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;