diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2017-11-01 11:16:42 +0100 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2017-11-25 07:16:46 +0100 |
commit | 60fc08111d6453ca79603b4c5c85be05e45c35e7 (patch) | |
tree | 8112a55109c27a1b9e6200d926739a33a547584f /sw/source/core/layout/calcmove.cxx | |
parent | b48950d8b326d29891b809434fd862e960e2ec99 (diff) |
Fix a likely copypasta
All dimensions set to 0 seems to be a correct setting for an empty page.
Change-Id: Idf8a587ab405ecd07b44a7c80d5d2eaf98e1c146
Diffstat (limited to 'sw/source/core/layout/calcmove.cxx')
-rw-r--r-- | sw/source/core/layout/calcmove.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 ); |