summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/wsfrm.cxx
diff options
context:
space:
mode:
authortagezi <lera.goncharuk@gmail.com>2017-12-07 22:27:21 +0200
committerMichael Stahl <mstahl@redhat.com>2017-12-11 22:02:48 +0100
commitbaadb184e84568acd1c6efda95c3715b05818da3 (patch)
treeda662ed1115c4b527bd5c67690ef0e738087b818 /sw/source/core/layout/wsfrm.cxx
parent09815cf40fad561991bec4bea15b3f677c937b02 (diff)
tdf#96505 Deleted suffix long (L) where it is possible
Change-Id: Iafe5ea3822f7f0170d2fb041fea604e95dbfa015 Reviewed-on: https://gerrit.libreoffice.org/46041 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw/source/core/layout/wsfrm.cxx')
-rw-r--r--sw/source/core/layout/wsfrm.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/layout/wsfrm.cxx b/sw/source/core/layout/wsfrm.cxx
index f26626d7d746..1532dd99f61e 100644
--- a/sw/source/core/layout/wsfrm.cxx
+++ b/sw/source/core/layout/wsfrm.cxx
@@ -1468,7 +1468,7 @@ SwTwips SwFrame::Grow( SwTwips nDist, bool bTst, bool bInfo )
return nReal;
}
}
- return 0L;
+ return 0;
}
SwTwips SwFrame::Shrink( SwTwips nDist, bool bTst, bool bInfo )
@@ -1509,7 +1509,7 @@ SwTwips SwFrame::Shrink( SwTwips nDist, bool bTst, bool bInfo )
return nReal;
}
}
- return 0L;
+ return 0;
}
/** Adjust surrounding neighbourhood after insertion
@@ -1537,7 +1537,7 @@ SwTwips SwFrame::AdjustNeighbourhood( SwTwips nDiff, bool bTst )
PROTOCOL_ENTER( this, PROT::AdjustN, DbgAction::NONE, &nDiff );
if ( !nDiff || !GetUpper()->IsFootnoteBossFrame() ) // only inside pages/columns
- return 0L;
+ return 0;
const SwViewShell *pSh = getRootFrame()->GetCurrShell();
const bool bBrowse = pSh && pSh->GetViewOptions()->getBrowseMode();
@@ -1547,7 +1547,7 @@ SwTwips SwFrame::AdjustNeighbourhood( SwTwips nDiff, bool bTst )
if ( IsPageBodyFrame() && (!bBrowse ||
(static_cast<SwLayoutFrame*>(this)->Lower() &&
static_cast<SwLayoutFrame*>(this)->Lower()->IsColumnFrame())) )
- return 0L;
+ return 0;
//In BrowseView mode the PageFrame can handle some of the requests.
long nBrowseAdd = 0;