sw/source/core/layout/calcmove.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 60fc08111d6453ca79603b4c5c85be05e45c35e7 Author: Matteo Casalin <matteo.casa...@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 ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits