[Libreoffice-commits] core.git: officecfg/registry svtools/source
Miklos Vajna (via logerrit)
logerrit at kemper.freedesktop.org
Mon Mar 25 16:42:03 UTC 2019
officecfg/registry/schema/org/openoffice/Office/Common.xcs | 8 ++++----
svtools/source/config/optionsdrawinglayer.cxx | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
New commits:
commit 9eb111333b7440fd166057a1c62840187aaf35a8
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Mon Mar 25 13:57:47 2019 +0100
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Mon Mar 25 17:41:41 2019 +0100
svtools: double the limit of max drawing page size
When I load an ODG document page, which is 5080 mm wide, then the UI
told me that it's 300 cm wide, which was misleading.
There is no real reason why the limit can't be higher, the draw page
size is sal_Int32 and the unit is either twips or mm100s: in both cases
sal_Int32 is more than enough to store the new limit still.
Change-Id: Ifb501eed4e288281bcc73dce71bdb03ac213b0c1
Reviewed-on: https://gerrit.libreoffice.org/69673
Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
Tested-by: Jenkins
diff --git a/officecfg/registry/schema/org/openoffice/Office/Common.xcs b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
index e83663786ec2..5179d366e919 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
@@ -1051,20 +1051,20 @@
<prop oor:name="MaximumPaperWidth" oor:type="xs:int" oor:nillable="false">
<info>
<desc>Specifies the maximum allowed Paper Width for page definitions
- in cm. Default is 3m, i.e. 300 cm. When this is changed to higher
+ in cm. Default is 6m, i.e. 600 cm. When this is changed to higher
values, it is done on own risk.</desc>
<label>Maximum allowed Paper Width for page definitions</label>
</info>
- <value>300</value>
+ <value>600</value>
</prop>
<prop oor:name="MaximumPaperHeight" oor:type="xs:int" oor:nillable="false">
<info>
<desc>Specifies the maximum allowed Paper Height for page definitions
- in cm. Default is 3m, i.e. 300 cm. When this is changed to higher
+ in cm. Default is 6m, i.e. 600 cm. When this is changed to higher
values, it is done on own risk.</desc>
<label>Maximum allowed Paper Height for page definitions</label>
</info>
- <value>300</value>
+ <value>600</value>
</prop>
<prop oor:name="MaximumPaperLeftMargin" oor:type="xs:int" oor:nillable="false">
<info>
diff --git a/svtools/source/config/optionsdrawinglayer.cxx b/svtools/source/config/optionsdrawinglayer.cxx
index 110af11c4ccd..304c18daca6e 100644
--- a/svtools/source/config/optionsdrawinglayer.cxx
+++ b/svtools/source/config/optionsdrawinglayer.cxx
@@ -53,8 +53,8 @@ using namespace ::com::sun::star::uno ;
#define DEFAULT_PAINTBUFFER_DRAWIMPRESS true
// #i4219#
-#define DEFAULT_MAXIMUMPAPERWIDTH 300
-#define DEFAULT_MAXIMUMPAPERHEIGHT 300
+#define DEFAULT_MAXIMUMPAPERWIDTH 600
+#define DEFAULT_MAXIMUMPAPERHEIGHT 600
#define DEFAULT_MAXIMUMPAPERLEFTMARGIN 9999
#define DEFAULT_MAXIMUMPAPERRIGHTMARGIN 9999
#define DEFAULT_MAXIMUMPAPERTOPMARGIN 9999
More information about the Libreoffice-commits
mailing list