summaryrefslogtreecommitdiff
path: root/svx/source/dialog/svxruler.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-11 08:42:40 +0200
committerNoel Grandin <noel@peralex.com>2015-08-11 09:48:18 +0200
commit3553a5d3a899954c4db09e264d8faf07e817e564 (patch)
tree15f5d78ebe53ed498536c2d518a4cc2ad195c072 /svx/source/dialog/svxruler.cxx
parente624c13cf1732f42d2da212b1b96aa9de7dd66cf (diff)
loplugin: defaultparams
Change-Id: I513643385dc0a04b68c5cf4a5f43aa0804e572e6
Diffstat (limited to 'svx/source/dialog/svxruler.cxx')
-rw-r--r--svx/source/dialog/svxruler.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/svxruler.cxx b/svx/source/dialog/svxruler.cxx
index 39550b7217bf..2a2104ea1b83 100644
--- a/svx/source/dialog/svxruler.cxx
+++ b/svx/source/dialog/svxruler.cxx
@@ -327,7 +327,7 @@ SvxRuler::SvxRuler(
mxRulerImpl->nControlerItems=i;
if( (nFlags & SvxRulerSupportFlags::SET_NULLOFFSET) == SvxRulerSupportFlags::SET_NULLOFFSET )
- SetExtraType(RULER_EXTRA_NULLOFFSET, 0);
+ SetExtraType(RULER_EXTRA_NULLOFFSET);
rBindings.LeaveRegistrations();
@@ -1420,7 +1420,7 @@ void ModifyTabs_Impl( sal_uInt16 nCount, // Number of Tabs
void SvxRuler::DragMargin1()
{
/* Dragging the left edge of frame */
- long aDragPosition = GetCorrectedDragPos( !TAB_FLAG || !NEG_FLAG, true );
+ long aDragPosition = GetCorrectedDragPos( !TAB_FLAG || !NEG_FLAG );
aDragPosition = MakePositionSticky(aDragPosition, GetRightFrameMargin(), false);