You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ms...@apache.org on 2022/02/20 15:44:14 UTC

[openoffice] 01/02: Decrease margin in page preview

This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit 694fcf5844b25edeabb80d248463dedd37492088
Author: mseidel <ms...@apache.org>
AuthorDate: Sun Feb 20 15:36:57 2022 +0100

    Decrease margin in page preview
    
    (cherry picked from commit bbfdf28b31e39cdd930c9b6445db1b68564d04d2)
---
 main/sw/source/core/view/pagepreviewlayout.cxx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main/sw/source/core/view/pagepreviewlayout.cxx b/main/sw/source/core/view/pagepreviewlayout.cxx
index e78ca94..2fee397 100644
--- a/main/sw/source/core/view/pagepreviewlayout.cxx
+++ b/main/sw/source/core/view/pagepreviewlayout.cxx
@@ -56,8 +56,8 @@ extern void SwCalcPixStatics( OutputDevice *pOut );
 // =============================================================================
 SwPagePreviewLayout::SwPagePreviewLayout( ViewShell& _rParentViewShell,
                                           const SwRootFrm& _rLayoutRootFrm )
-    : mnXFree ( 4*142 ),
-      mnYFree ( 4*142 ),
+    : mnXFree ( 3 * 142 ),
+      mnYFree ( 4 * 142 ),
       mrParentViewShell( _rParentViewShell ),
       mrLayoutRootFrm ( _rLayoutRootFrm )
 {