diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-02-19 16:33:35 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-02-20 00:19:35 +0100 |
commit | 60ae5f530c3123341a8c2d49793693c2cd4521c2 (patch) | |
tree | d8cba0d2489a3e6ebcdc4559c797405217d3c179 /include/vcl/print.hxx | |
parent | 26b51c9550ef300e7685fc41eb9cde4dbbc11265 (diff) |
make it possible to set parent window for printer error messages
Change-Id: I0effa3645454ef9d03393ae8b256cd624ca04f03
Reviewed-on: https://gerrit.libreoffice.org/50008
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/print.hxx')
-rw-r--r-- | include/vcl/print.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/print.hxx b/include/vcl/print.hxx index ac15f1de4d0b..ae40d76ce96f 100644 --- a/include/vcl/print.hxx +++ b/include/vcl/print.hxx @@ -398,7 +398,7 @@ class VCL_DLLPUBLIC PrinterController std::unique_ptr<ImplPrinterControllerData> mpImplData; protected: - PrinterController( const VclPtr<Printer>& ); + PrinterController( const VclPtr<Printer>&, const VclPtr<vcl::Window>& ); public: struct MultiPageSetup { @@ -440,6 +440,7 @@ public: virtual ~PrinterController(); const VclPtr<Printer>& getPrinter() const; + const VclPtr<vcl::Window>& getWindow() const; /** For implementations: get current job properties as changed by e.g. print dialog |