From 85c758a4618d3a485f778bda5b20a8221161e399 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 24 Nov 2015 16:05:34 +0200 Subject: loplugin:unusedfields in include/sfx2/ Change-Id: I3eb27ed10e82ee56b33866ac576c1b1f8c9756b9 --- sw/source/ui/chrdlg/chardlg.cxx | 2 +- sw/source/ui/frmdlg/frmdlg.cxx | 11 +++++------ sw/source/ui/table/tabledlg.cxx | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) (limited to 'sw') diff --git a/sw/source/ui/chrdlg/chardlg.cxx b/sw/source/ui/chrdlg/chardlg.cxx index 1a6209e15b9e..da6c131dafe5 100644 --- a/sw/source/ui/chrdlg/chardlg.cxx +++ b/sw/source/ui/chrdlg/chardlg.cxx @@ -61,7 +61,7 @@ using namespace ::sfx2; SwCharDlg::SwCharDlg(vcl::Window* pParent, SwView& rVw, const SfxItemSet& rCoreSet, sal_uInt8 nDialogMode, const OUString* pStr) - : SfxTabDialog(nullptr, pParent, "CharacterPropertiesDialog", + : SfxTabDialog(pParent, "CharacterPropertiesDialog", "modules/swriter/ui/characterproperties.ui", &rCoreSet, pStr != nullptr) , m_rView(rVw) , m_nDialogMode(nDialogMode) diff --git a/sw/source/ui/frmdlg/frmdlg.cxx b/sw/source/ui/frmdlg/frmdlg.cxx index 7979913241bd..171612a77ca7 100644 --- a/sw/source/ui/frmdlg/frmdlg.cxx +++ b/sw/source/ui/frmdlg/frmdlg.cxx @@ -45,18 +45,17 @@ // the dialog's carrier SwFrmDlg::SwFrmDlg( SfxViewFrame* pViewFrame, - vcl::Window* pParent, + vcl::Window* pParent, const SfxItemSet& rCoreSet, bool bNewFrm, - const OUString& sResType, + const OUString& sResType, bool bFormat, const OString& sDefPage, const OUString* pStr) - : SfxTabDialog(pViewFrame, pParent, sResType, - "modules/swriter/ui/" + - sResType.toAsciiLowerCase() + - (".ui"), &rCoreSet, pStr != nullptr) + : SfxTabDialog(pParent, sResType, + "modules/swriter/ui/" + sResType.toAsciiLowerCase() + ".ui", + &rCoreSet, pStr != nullptr) , m_bFormat(bFormat) , m_bNew(bNewFrm) , m_rSet(rCoreSet) diff --git a/sw/source/ui/table/tabledlg.cxx b/sw/source/ui/table/tabledlg.cxx index 597fc6985bed..424a47907821 100644 --- a/sw/source/ui/table/tabledlg.cxx +++ b/sw/source/ui/table/tabledlg.cxx @@ -1235,7 +1235,7 @@ void SwTableColumnPage::SetVisibleWidth(sal_uInt16 nPos, SwTwips nNewWidth) SwTableTabDlg::SwTableTabDlg(vcl::Window* pParent, SfxItemPool&, const SfxItemSet* pItemSet, SwWrtShell* pSh) - : SfxTabDialog(nullptr, pParent, "TablePropertiesDialog", + : SfxTabDialog(pParent, "TablePropertiesDialog", "modules/swriter/ui/tableproperties.ui", pItemSet) , pShell(pSh) { -- cgit