summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-17 20:29:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-18 09:38:52 +0200
commitcefce1a247a4674c5726a31b61571eab16328a0b (patch)
treefe18f6c5a77733467c01a6a59bda3c7c2615915a
parentf1824e27511709614ea3c03209caee1c22e2ab10 (diff)
tdf#126051 sync MINBODY copies to same value
Change-Id: Id41da7b07dcb25e820e5fd20aed595b1170fa204 Reviewed-on: https://gerrit.libreoffice.org/75807 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--cui/source/tabpages/page.cxx3
-rw-r--r--svx/source/dialog/hdft.cxx1
-rw-r--r--sw/source/uibase/sidebar/PageMarginControl.hxx3
3 files changed, 5 insertions, 2 deletions
diff --git a/cui/source/tabpages/page.cxx b/cui/source/tabpages/page.cxx
index a5e7269c224c..dd250a1fe532 100644
--- a/cui/source/tabpages/page.cxx
+++ b/cui/source/tabpages/page.cxx
@@ -61,7 +61,8 @@
// static ----------------------------------------------------------------
-static const long MINBODY = 284; // 0,5 cm rounded up in twips
+// #i19922# - tdf#126051 see svx/source/dialog/hdft.cxx and sw/source/uibase/sidebar/PageMarginControl.hxx
+static const long MINBODY = 56; // 1mm in twips rounded
const sal_uInt16 SvxPageDescPage::pRanges[] =
{
diff --git a/svx/source/dialog/hdft.cxx b/svx/source/dialog/hdft.cxx
index 5f5081c9be39..e4c622ae781a 100644
--- a/svx/source/dialog/hdft.cxx
+++ b/svx/source/dialog/hdft.cxx
@@ -53,6 +53,7 @@
using namespace com::sun::star;
// Word 97 incompatibility (#i19922#)
+// #i19922# - tdf#126051 see cui/source/tabpages/page.cxx and sw/source/uibase/sidebar/PageMarginControl.hxx
static const long MINBODY = 56; // 1mm in twips rounded
// default distance to Header or footer
diff --git a/sw/source/uibase/sidebar/PageMarginControl.hxx b/sw/source/uibase/sidebar/PageMarginControl.hxx
index a2b9e0a7deb2..761f5c7dfdec 100644
--- a/sw/source/uibase/sidebar/PageMarginControl.hxx
+++ b/sw/source/uibase/sidebar/PageMarginControl.hxx
@@ -37,7 +37,8 @@
#define SWPAGE_WIDE_VALUE2 2880
#define SWPAGE_WIDE_VALUE3 1800
-static const long MINBODY = 284; //0.5 cm in twips
+// #i19922# - tdf#126051 see cui/source/tabpages/page.cxx and svx/source/dialog/hdft.cxx
+static const long MINBODY = 56; // 1mm in twips rounded
namespace sw { namespace sidebar {