summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/calcmove.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/layout/calcmove.cxx')
-rw-r--r--sw/source/core/layout/calcmove.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/layout/calcmove.cxx b/sw/source/core/layout/calcmove.cxx
index 36a4e5e36eca..5b5b7ac644ba 100644
--- a/sw/source/core/layout/calcmove.cxx
+++ b/sw/source/core/layout/calcmove.cxx
@@ -759,7 +759,7 @@ void SwPageFrame::MakeAll(vcl::RenderContext* pRenderContext)
nWidth = nDefWidth;
nWidth += + 2 * aBorder.Width();
- nWidth = std::max( nWidth, 2L * aBorder.Width() + 4L*MM50 );
+ nWidth = std::max( nWidth, 2L * aBorder.Width() + 4*MM50 );
Frame().Width( nWidth );
SwLayoutFrame *pBody = FindBodyCont();
@@ -1177,7 +1177,7 @@ void SwContentFrame::MakeAll(vcl::RenderContext* /*pRenderContext*/)
// because of its object positioning.
if ( !static_cast<SwTextFrame*>(this)->IsFollow() )
{
- sal_uInt32 nToPageNum = 0L;
+ sal_uInt32 nToPageNum = 0;
const bool bMoveFwdByObjPos = SwLayouter::FrameMovedFwdByObjPos(
*(GetAttrSet()->GetDoc()),
*(static_cast<SwTextFrame*>(this)),