diff options
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxprinter.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxprinter.cxx b/toolkit/source/awt/vclxprinter.cxx index 3c61ad7b5fbd..7afe226f98de 100644 --- a/toolkit/source/awt/vclxprinter.cxx +++ b/toolkit/source/awt/vclxprinter.cxx @@ -28,6 +28,7 @@ #include <vcl/print.hxx> #include <vcl/jobset.hxx> #include <vcl/svapp.hxx> +#include <vcl/window.hxx> #include <tools/debug.hxx> #include <tools/stream.hxx> @@ -283,7 +284,7 @@ sal_Bool VCLXPrinter::start( const OUString& /*rJobName*/, sal_Int16 /*nCopies*/ if (mxPrinter.get()) { maInitJobSetup = mxPrinter->GetJobSetup(); - mxListener.reset(new vcl::OldStylePrintAdaptor(mxPrinter)); + mxListener.reset(new vcl::OldStylePrintAdaptor(mxPrinter, nullptr)); } return true; |