summaryrefslogtreecommitdiff
path: root/vcl/generic
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2015-07-07 12:08:33 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-02-06 17:22:47 -0500
commit91c9a633428e1241cd22cf0df856f6560ff4cf93 (patch)
tree55b5ce4591c69887472b57920997bf1ebacbcbea /vcl/generic
parent0b13590e19be330da7ecb969527b8c15007dbc0e (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> (cherry picked from commit 2a1fe443a8343642292444be19cbd10700e7e01c)
Diffstat (limited to 'vcl/generic')
-rw-r--r--vcl/generic/print/prtsetup.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/generic/print/prtsetup.cxx b/vcl/generic/print/prtsetup.cxx
index 94ffc9b041b7..78c794a1b956 100644
--- a/vcl/generic/print/prtsetup.cxx
+++ b/vcl/generic/print/prtsetup.cxx
@@ -294,6 +294,7 @@ IMPL_LINK( RTSPaperPage, SelectHdl, ListBox*, pBox )
m_pParent->m_aJobData.m_aContext.setValue( pKey, pValue );
update();
}
+
m_pParent->SetDataModified( true );
return 0;
}