summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-19 13:06:07 +0200
committerNoel Grandin <noel@peralex.com>2016-02-22 08:18:08 +0200
commitf17f977d0ad5b4c51a8f58b43901f72de001a56d (patch)
tree24e25caa72db9d21b1728f52f17758ab103e9c76 /sw
parentacd1c51791bdf522d7ffd8dd225fb59cd2eb17ff (diff)
loplugin:write only fields
Change-Id: I45895e9845a9037da207f001fece427452ed499f
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/ww8par.cxx3
-rw-r--r--sw/source/uibase/sidebar/WrapPropertyPanel.cxx2
2 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index 2dff4a4eaefe..f5872baca2da 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -6428,9 +6428,8 @@ namespace sw
}
SwMacroInfo::SwMacroInfo()
- : SdrObjUserData( SW_DRAWLAYER, SW_UD_IMAPDATA, 0 )
+ : SdrObjUserData( SW_DRAWLAYER, SW_UD_IMAPDATA )
, mnShapeId(-1)
-
{
}
diff --git a/sw/source/uibase/sidebar/WrapPropertyPanel.cxx b/sw/source/uibase/sidebar/WrapPropertyPanel.cxx
index 41853261a272..bb111180e491 100644
--- a/sw/source/uibase/sidebar/WrapPropertyPanel.cxx
+++ b/sw/source/uibase/sidebar/WrapPropertyPanel.cxx
@@ -77,7 +77,7 @@ WrapPropertyPanel::WrapPropertyPanel(
, nRight(0)
// resources
, aCustomEntry()
- , aWrapIL(6,2)
+ , aWrapIL()
// controller items
, maSwNoWrapControl(FN_FRAME_NOWRAP, *pBindings, *this)
, maSwWrapLeftControl(FN_FRAME_WRAP, *pBindings, *this)