diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-05-17 15:20:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-05-17 15:25:40 +0100 |
commit | 7a5bfde13afd98f1a8e110a96a636119da2ad911 (patch) | |
tree | b1510b2f09ad194af477fb1e16fd2573447048cd /include/vcl | |
parent | 6389bf38961d84fd3e1c8fbdc78040e1b1be3ba9 (diff) |
Related: fdo#61186 ensure printer settings paper format is not clobbered
scenario 1: with attached test document
a file->printer settings->properties->paper
set a paper size, ideally something not used in the test doc, e.g. Executive
b file->print->print
c file->printer settings->properties->paper
the paper size here should now still be what was selected in a and
*not* what happened to be the last page format used in the document
which is letter
Change-Id: I66be32e2d03381dc2103479f1be46669a342a2ab
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/print.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx index c0cb364b7307..f40801e438ff 100644 --- a/include/vcl/print.hxx +++ b/include/vcl/print.hxx @@ -522,6 +522,7 @@ public: SAL_DLLPRIVATE void setReversePrint( sal_Bool i_bReverse ); SAL_DLLPRIVATE bool getReversePrint() const; SAL_DLLPRIVATE void pushPropertiesToPrinter(); + SAL_DLLPRIVATE void resetPaperToLastConfigured(); VCL_PLUGIN_PUBLIC void setJobState( com::sun::star::view::PrintableState ); SAL_DLLPRIVATE bool setupPrinter( Window* i_pDlgParent ); |