diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-01-09 12:44:09 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-01-09 12:50:24 +0000 |
commit | 9c4d77f22d58f5b500c95f65a431628a8d8d6e6e (patch) | |
tree | 8caea7260443c2b6334efd9fc1c853f81ba78492 /vcl/generic | |
parent | e070b852074dd6f90128832ac0da3ef96e868d77 (diff) |
Resolves: fdo#59131 resolve default backend on printer->setup
For setting permanent defaults via spadmin we don't want to resolve the
default backend on saving "default", this happens during the print
initialization stuff.
But when we tweak the printer settings for a single print job and reset back to
default, we need to resolve that to what backend we want
Change-Id: Iac2370624b6d248c9658fb0fbc2f2d449849d81a
Diffstat (limited to 'vcl/generic')
-rw-r--r-- | vcl/generic/print/genprnpsp.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/generic/print/genprnpsp.cxx b/vcl/generic/print/genprnpsp.cxx index 9949eae4b6c0..6800e01ed506 100644 --- a/vcl/generic/print/genprnpsp.cxx +++ b/vcl/generic/print/genprnpsp.cxx @@ -584,6 +584,7 @@ sal_Bool PspSalInfoPrinter::Setup( SalFrame* pFrame, ImplJobSetup* pJobSetup ) if( pSetupFunction( aInfo ) ) { + aInfo.resolveDefaultBackend(); rtl_freeMemory( pJobSetup->mpDriverData ); pJobSetup->mpDriverData = NULL; |