diff options
author | Ariel Constenla-Haile <arielch@apache.org> | 2012-10-06 01:44:09 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-06-10 11:26:28 +0100 |
commit | 6858934fadcbe825ef59a3c7da4f82879163382b (patch) | |
tree | 5cdbe67ab71b48d6457207a59ae11ae43869e56f | |
parent | 34a1250e0b4bf62dbf87ff6139fc3107f7543b82 (diff) |
Resolves: #i121170# - com::sun::star::awt::XPrinter API does nothing
(cherry picked from commit 07abf70e9ecfca7e7898929259263bb307766374)
Change-Id: I0b11a4a6337f0928ca43d4eb511831f5f96a246e
-rw-r--r-- | toolkit/source/awt/vclxprinter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxprinter.cxx b/toolkit/source/awt/vclxprinter.cxx index 209040bafa96..69934d59d27a 100644 --- a/toolkit/source/awt/vclxprinter.cxx +++ b/toolkit/source/awt/vclxprinter.cxx @@ -279,7 +279,7 @@ sal_Bool VCLXPrinter::start( const OUString& /*rJobName*/, sal_Int16 /*nCopies*/ ::osl::MutexGuard aGuard( Mutex ); sal_Bool bDone = sal_True; - if ( mpListener.get() ) + if ( mpPrinter.get() ) { maInitJobSetup = mpPrinter->GetJobSetup(); mpListener.reset( new vcl::OldStylePrintAdaptor( mpPrinter ) ); |