summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-24 16:05:34 +0200
committerNoel Grandin <noel@peralex.com>2015-11-25 08:25:09 +0200
commit85c758a4618d3a485f778bda5b20a8221161e399 (patch)
treecdd2e94f660d10af379d27dfcf216f499b353acb /sw
parenta78182a993288680b04d1329536af5953e8ca31c (diff)
loplugin:unusedfields in include/sfx2/
Change-Id: I3eb27ed10e82ee56b33866ac576c1b1f8c9756b9
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/chrdlg/chardlg.cxx2
-rw-r--r--sw/source/ui/frmdlg/frmdlg.cxx11
-rw-r--r--sw/source/ui/table/tabledlg.cxx2
3 files changed, 7 insertions, 8 deletions
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)
{