diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-03-25 13:57:47 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-03-25 17:41:41 +0100 |
commit | 9eb111333b7440fd166057a1c62840187aaf35a8 (patch) | |
tree | 1b2d94ae22c441832a6fa78388167fbbe65fcf46 /svtools/source/config/optionsdrawinglayer.cxx | |
parent | 317fa411b91c7b4db4124356fc8d3bd4da1ea1e7 (diff) |
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@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'svtools/source/config/optionsdrawinglayer.cxx')
-rw-r--r-- | svtools/source/config/optionsdrawinglayer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 |