diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-15 11:29:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-16 18:57:07 +0100 |
commit | 5637ff950fc1a951bdd999406770cc2b92d81384 (patch) | |
tree | da744ef3eebf0110b410a0a2ec337d5d58002af6 /include/vcl | |
parent | f53d9322b0ffefc4d3492ba9e8da3f5d8d96879c (diff) |
sal_uLong->SalPrinterError in SalPrinter
and define a default implementation in the base class that returns
SalPrinterError::NONE, since only one of the subclasses wants to
override and return something useful
Change-Id: Id41ff90693527e8624cc2993b7481114af85fcee
Reviewed-on: https://gerrit.libreoffice.org/46509
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl')
-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 94e8ea377d27..a4846becd1bb 100644 --- a/include/vcl/print.hxx +++ b/include/vcl/print.hxx @@ -43,6 +43,7 @@ class SalInfoPrinter; struct SalPrinterQueueInfo; class SalPrinter; class VirtualDevice; +enum class SalPrinterError; namespace vcl { class Window; } namespace vcl { @@ -217,7 +218,7 @@ private: SAL_DLLPRIVATE bool StartJob( const OUString& rJobName, std::shared_ptr<vcl::PrinterController> const & ); static SAL_DLLPRIVATE ErrCode - ImplSalPrinterErrorCodeToVCL( sal_uLong nError ); + ImplSalPrinterErrorCodeToVCL( SalPrinterError nError ); private: SAL_DLLPRIVATE bool EndJob(); |