diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-23 15:38:16 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-23 15:38:16 +0100 |
commit | 254ca2513c85701e92b4e27023bf26cbc76133e9 (patch) | |
tree | e9f4c8305e7bb8f2e631dfedb65e524c9506d24b /vcl | |
parent | 96ff6372e15fa17211650ec6f0da13771a572a42 (diff) |
loplugin:staticmethods
Change-Id: Ia22b7f53a85e55fd33762adceba9a1b1827d6f34
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/headless/svpbmp.cxx | 2 | ||||
-rw-r--r-- | vcl/headless/svpvd.cxx | 2 | ||||
-rw-r--r-- | vcl/inc/headless/svpinst.hxx | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/vcl/headless/svpbmp.cxx b/vcl/headless/svpbmp.cxx index 722b4dd39200..884a80c3cb05 100644 --- a/vcl/headless/svpbmp.cxx +++ b/vcl/headless/svpbmp.cxx @@ -45,7 +45,7 @@ bool SvpSalBitmap::Create( const Size& rSize, SvpSalInstance* pInst = SvpSalInstance::s_pDefaultInstance; assert( pInst ); - basebmp::Format nFormat = pInst->getBaseBmpFormatForBitCount( nBitCount ); + basebmp::Format nFormat = SvpSalInstance::getBaseBmpFormatForBitCount( nBitCount ); B2IVector aSize( rSize.Width(), rSize.Height() ); if( aSize.getX() == 0 ) diff --git a/vcl/headless/svpvd.cxx b/vcl/headless/svpvd.cxx index 3cc8b5f7d91e..8b4d3c5e5771 100644 --- a/vcl/headless/svpvd.cxx +++ b/vcl/headless/svpvd.cxx @@ -67,7 +67,7 @@ bool SvpSalVirtualDevice::SetSizeUsingBuffer( long nNewDX, long nNewDY, { SvpSalInstance* pInst = SvpSalInstance::s_pDefaultInstance; assert( pInst ); - basebmp::Format nFormat = pInst->getBaseBmpFormatForDeviceFormat(m_eFormat); + basebmp::Format nFormat = SvpSalInstance::getBaseBmpFormatForDeviceFormat(m_eFormat); sal_Int32 nStride = basebmp::getBitmapDeviceStrideForWidth(nFormat, aDevSize.getX()); if (m_eFormat == DeviceFormat::BITMASK) diff --git a/vcl/inc/headless/svpinst.hxx b/vcl/inc/headless/svpinst.hxx index cf30aae0428e..779a65f122d5 100644 --- a/vcl/inc/headless/svpinst.hxx +++ b/vcl/inc/headless/svpinst.hxx @@ -167,8 +167,8 @@ public: virtual GenPspGraphics *CreatePrintGraphics() override; - ::basebmp::Format getBaseBmpFormatForBitCount(sal_uInt16); - ::basebmp::Format getBaseBmpFormatForDeviceFormat(DeviceFormat); + static ::basebmp::Format getBaseBmpFormatForBitCount(sal_uInt16); + static ::basebmp::Format getBaseBmpFormatForDeviceFormat(DeviceFormat); }; #endif // INCLUDED_VCL_INC_HEADLESS_SVPINST_HXX |