diff options
-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 |