diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-07-07 12:08:33 +0200 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2015-07-10 09:26:09 +0000 |
commit | 2a1fe443a8343642292444be19cbd10700e7e01c (patch) | |
tree | cfd32dbc81c691b056e7c730318503b63f74841c /vcl/source/gdi/jobset.cxx | |
parent | 459bcc222f2aee52477cef8f94eb2789ff4ecd9a (diff) |
Related tdf#91362: disable paper size & orientation selection
Unless 'Use only papersize from printer prefs' is toggled on,
whatever the user sets here doesn't have any effect on the actual
printing (page settings from the document are used instead). It is
misleading to have the user believe otherwise.
It was really challenging to have this one toggle get all the way
down through several layers of abstraction, though ...
Change-Id: If240084ca23b3946a92882a6ee47dbc161b3b86c
Reviewed-on: https://gerrit.libreoffice.org/16812
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'vcl/source/gdi/jobset.cxx')
-rw-r--r-- | vcl/source/gdi/jobset.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/gdi/jobset.cxx b/vcl/source/gdi/jobset.cxx index 2570800c6e0a..17fb9c792f83 100644 --- a/vcl/source/gdi/jobset.cxx +++ b/vcl/source/gdi/jobset.cxx @@ -61,6 +61,7 @@ ImplJobSetup::ImplJobSetup() mnPaperHeight = 0; mnDriverDataLen = 0; mpDriverData = NULL; + mbPapersizeFromSetup = false; } ImplJobSetup::ImplJobSetup( const ImplJobSetup& rJobSetup ) : @@ -83,6 +84,7 @@ ImplJobSetup::ImplJobSetup( const ImplJobSetup& rJobSetup ) : } else mpDriverData = NULL; + mbPapersizeFromSetup = rJobSetup.mbPapersizeFromSetup; maValueMap = rJobSetup.maValueMap; } |