summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/viewtab.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-20 11:47:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-20 11:47:00 +0200
commit0705f7da48bf36949dd323ba0103db86708e00e7 (patch)
tree7083e0abcc5b9a17700498b97520cd8c8faa72e8 /sw/source/uibase/uiview/viewtab.cxx
parent85ce992473a435497014f856f95f3914783f8d72 (diff)
loplugin:defaultparams
Change-Id: I11ff551955c1ac291ab576f2f18c2dd410427eda
Diffstat (limited to 'sw/source/uibase/uiview/viewtab.cxx')
-rw-r--r--sw/source/uibase/uiview/viewtab.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/uibase/uiview/viewtab.cxx b/sw/source/uibase/uiview/viewtab.cxx
index fbb5d3ba5ec1..921eacd5669b 100644
--- a/sw/source/uibase/uiview/viewtab.cxx
+++ b/sw/source/uibase/uiview/viewtab.cxx
@@ -358,8 +358,8 @@ void SwView::ExecTabWin( SfxRequest& rReq )
{
//change the section indents and the columns if available
//at first determine the changes
- SwRect aSectRect = rSh.GetAnyCurRect(RECT_SECTION_PRT, 0);
- const SwRect aTmpRect = rSh.GetAnyCurRect(RECT_SECTION, 0);
+ SwRect aSectRect = rSh.GetAnyCurRect(RECT_SECTION_PRT);
+ const SwRect aTmpRect = rSh.GetAnyCurRect(RECT_SECTION);
aSectRect.Pos() += aTmpRect.Pos();
long nLeftDiff = aLongLR.GetLeft() - (long)(aSectRect.Left() - rPageRect.Left() );
long nRightDiff = aLongLR.GetRight() - (long)( rPageRect.Right() - aSectRect.Right());
@@ -471,8 +471,8 @@ void SwView::ExecTabWin( SfxRequest& rReq )
{
//change the section indents and the columns if available
//at first determine the changes
- SwRect aSectRect = rSh.GetAnyCurRect(RECT_SECTION_PRT, 0);
- const SwRect aTmpRect = rSh.GetAnyCurRect(RECT_SECTION, 0);
+ SwRect aSectRect = rSh.GetAnyCurRect(RECT_SECTION_PRT);
+ const SwRect aTmpRect = rSh.GetAnyCurRect(RECT_SECTION);
aSectRect.Pos() += aTmpRect.Pos();
const long nLeftDiff = aLongULSpace.GetUpper() - (long)(aSectRect.Top() - rPageRect.Top());
const long nRightDiff = aLongULSpace.GetLower() - (long)(nPageHeight - aSectRect.Bottom() + rPageRect.Top());