diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-08 23:36:24 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-08 23:47:23 +0200 |
commit | 565611a1c87ce368f4823a324564dddc4e7f2ed2 (patch) | |
tree | 3549dda4a50a2a8445e603979e0acd2b9c041a53 | |
parent | 27cff71ce4db252d78d144411233c85adc114f5c (diff) |
loplugin:staticmethods
Change-Id: I1aeec1e8b00ab0f9e7ec130b6d72b69f35a304cf
-rw-r--r-- | vcl/inc/osx/salprn.h | 2 | ||||
-rw-r--r-- | vcl/osx/salprn.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/vcl/inc/osx/salprn.h b/vcl/inc/osx/salprn.h index 18f0bbafff67..0f3152a7b247 100644 --- a/vcl/inc/osx/salprn.h +++ b/vcl/inc/osx/salprn.h @@ -97,7 +97,7 @@ class AquaSalInfoPrinter : public SalInfoPrinter bool AbortJob(); SalGraphics* StartPage( ImplJobSetup* i_pSetupData, bool i_bNewJobData ); bool EndPage(); - sal_uLong GetErrorCode() const; + static sal_uLong GetErrorCode(); NSPrintInfo* getPrintInfo() const { return mpPrintInfo; } void setStartPageOffset( int nOffsetX, int nOffsetY ) { mnStartPageOffsetX = nOffsetX; mnStartPageOffsetY = nOffsetY; } diff --git a/vcl/osx/salprn.cxx b/vcl/osx/salprn.cxx index ed631b082b75..4995ae00f5f0 100644 --- a/vcl/osx/salprn.cxx +++ b/vcl/osx/salprn.cxx @@ -563,7 +563,7 @@ bool AquaSalInfoPrinter::EndPage() return true; } -sal_uLong AquaSalInfoPrinter::GetErrorCode() const +sal_uLong AquaSalInfoPrinter::GetErrorCode() { return 0; } @@ -620,7 +620,7 @@ bool AquaSalPrinter::EndPage() sal_uLong AquaSalPrinter::GetErrorCode() { - return mpInfoPrinter->GetErrorCode(); + return AquaSalInfoPrinter::GetErrorCode(); } void AquaSalInfoPrinter::InitPaperFormats( const ImplJobSetup* ) |