diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-20 11:47:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-20 11:47:00 +0200 |
commit | 0705f7da48bf36949dd323ba0103db86708e00e7 (patch) | |
tree | 7083e0abcc5b9a17700498b97520cd8c8faa72e8 /sw/source/uibase/uiview/viewtab.cxx | |
parent | 85ce992473a435497014f856f95f3914783f8d72 (diff) |
loplugin:defaultparams
Change-Id: I11ff551955c1ac291ab576f2f18c2dd410427eda
Diffstat (limited to 'sw/source/uibase/uiview/viewtab.cxx')
-rw-r--r-- | sw/source/uibase/uiview/viewtab.cxx | 8 |
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()); |