summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-11-20 19:10:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-11-21 18:27:56 +0100
commitb07b192720702ff1f0385b6c6a521117f93b7038 (patch)
treebfeb3f66527e9136a8629edd943714ec10061d15 /sfx2
parent79a1fafadb1ac54b8212bc164d8b85d798c74937 (diff)
loplugin:unusedfields
Change-Id: Ic4cb8444123864fdaee64960f00a05b3066ae5fc Reviewed-on: https://gerrit.libreoffice.org/83387 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/view/printer.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/sfx2/source/view/printer.cxx b/sfx2/source/view/printer.cxx
index 244f2206bffa..1ec88004473d 100644
--- a/sfx2/source/view/printer.cxx
+++ b/sfx2/source/view/printer.cxx
@@ -33,16 +33,6 @@
#include <sfx2/viewsh.hxx>
#include <sfx2/tabdlg.hxx>
-// struct SfxPrinter_Impl ------------------------------------------------
-
-struct SfxPrintOptDlg_Impl
-{
- bool mbHelpDisabled;
-
- SfxPrintOptDlg_Impl() :
- mbHelpDisabled ( false ) {}
-};
-
// class SfxPrinter ------------------------------------------------------
VclPtr<SfxPrinter> SfxPrinter::Create( SvStream& rStream, std::unique_ptr<SfxItemSet>&& pOptions )
@@ -167,7 +157,6 @@ SfxPrintOptionsDialog::SfxPrintOptionsDialog(weld::Window *pParent,
SfxViewShell *pViewShell,
const SfxItemSet *pSet)
: GenericDialogController(pParent, "sfx/ui/printeroptionsdialog.ui", "PrinterOptionsDialog")
- , pDlgImpl(new SfxPrintOptDlg_Impl)
, pOptions(pSet->Clone())
, m_xHelpBtn(m_xBuilder->weld_widget("help"))
, m_xContainer(m_xDialog->weld_content_area())
@@ -201,7 +190,6 @@ short SfxPrintOptionsDialog::run()
void SfxPrintOptionsDialog::DisableHelp()
{
- pDlgImpl->mbHelpDisabled = true;
m_xHelpBtn->set_sensitive(false);
}