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 /vcl/inc/win | |
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 'vcl/inc/win')
-rw-r--r-- | vcl/inc/win/salprn.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/win/salprn.h b/vcl/inc/win/salprn.h index 65c1097ebf1c..a1be0336e4c1 100644 --- a/vcl/inc/win/salprn.h +++ b/vcl/inc/win/salprn.h @@ -77,7 +77,7 @@ public: WinSalInfoPrinter* mpInfoPrinter; // pointer to the compatible InfoPrinter WinSalPrinter* mpNextPrinter; // next printing printer HDC mhDC; // printer hdc - sal_uIntPtr mnError; // error code + SalPrinterError mnError; // error code sal_uIntPtr mnCopies; // copies bool mbCollate; // collated copies bool mbAbort; // Job Aborted @@ -102,7 +102,7 @@ public: virtual bool EndJob() override; virtual SalGraphics* StartPage( ImplJobSetup* pSetupData, bool bNewJobData ) override; virtual void EndPage() override; - virtual sal_uIntPtr GetErrorCode() override; + virtual SalPrinterError GetErrorCode() override; void markInvalid(); bool isValid() const { return mbValid; } |