[Libreoffice-commits] core.git: sw/source
Matteo Casalin
matteo.casalin at yahoo.com
Sat Nov 25 06:17:24 UTC 2017
sw/source/core/layout/calcmove.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 60fc08111d6453ca79603b4c5c85be05e45c35e7
Author: Matteo Casalin <matteo.casalin at yahoo.com>
Date: Wed Nov 1 11:16:42 2017 +0100
Fix a likely copypasta
All dimensions set to 0 seems to be a correct setting for an empty page.
Change-Id: Idf8a587ab405ecd07b44a7c80d5d2eaf98e1c146
diff --git a/sw/source/core/layout/calcmove.cxx b/sw/source/core/layout/calcmove.cxx
index 3a770bcb6a2b..de694019e1bd 100644
--- a/sw/source/core/layout/calcmove.cxx
+++ b/sw/source/core/layout/calcmove.cxx
@@ -777,10 +777,10 @@ void SwPageFrame::MakeAll(vcl::RenderContext* pRenderContext)
{
SwFrameAreaDefinition::FrameAreaWriteAccess aFrm(*this);
aFrm.Width( 0 );
- aFrm.Width( 0 );
+ aFrm.Height( 0 );
SwFrameAreaDefinition::FramePrintAreaWriteAccess aPrt(*this);
- aPrt.Height( 0 );
+ aPrt.Width( 0 );
aPrt.Height( 0 );
aPrt.Left( 0 );
aPrt.Top( 0 );
More information about the Libreoffice-commits
mailing list