diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-13 17:50:05 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-13 17:54:26 +0200 |
commit | dfb908c07ba950f91b766dfa0d7a9b203b955239 (patch) | |
tree | 31e4e8ef95a01a17dd0b693d58a6085e4ddf5874 /filter/source/graphicfilter/eos2met/eos2met.cxx | |
parent | loplugin:staticcall (diff) | |
download | core-dfb908c07ba950f91b766dfa0d7a9b203b955239.tar.gz core-dfb908c07ba950f91b766dfa0d7a9b203b955239.zip |
loplugin:staticcall
Change-Id: I447500c4695b45afe86a8b8d6b6294507f58cd3f
Diffstat (limited to 'filter/source/graphicfilter/eos2met/eos2met.cxx')
-rw-r--r-- | filter/source/graphicfilter/eos2met/eos2met.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/graphicfilter/eos2met/eos2met.cxx b/filter/source/graphicfilter/eos2met/eos2met.cxx index 54654c6ab4c7..5927744a6a43 100644 --- a/filter/source/graphicfilter/eos2met/eos2met.cxx +++ b/filter/source/graphicfilter/eos2met/eos2met.cxx @@ -356,7 +356,7 @@ void METWriter::WriteBigEndianLong(sal_uInt32 nLong) void METWriter::WritePoint(Point aPt) { - Point aNewPt = pCompDev->LogicToLogic( aPt, aPictureMapMode, aTargetMapMode ); + Point aNewPt = OutputDevice::LogicToLogic( aPt, aPictureMapMode, aTargetMapMode ); pMET->WriteInt32( (sal_Int32) ( aNewPt.X() - aPictureRect.Left() ) ) .WriteInt32( (sal_Int32) ( aPictureRect.Bottom() - aNewPt.Y() ) ); @@ -1164,7 +1164,7 @@ void METWriter::METBitBlt(Point aPt, Size aSize, const Size& rBmpSizePixel) void METWriter::METSetAndPushLineInfo( const LineInfo& rLineInfo ) { - sal_Int32 nWidth = pCompDev->LogicToLogic( Size( rLineInfo.GetWidth(),0 ), aPictureMapMode, aTargetMapMode ).Width(); + sal_Int32 nWidth = OutputDevice::LogicToLogic( Size( rLineInfo.GetWidth(),0 ), aPictureMapMode, aTargetMapMode ).Width(); WillWriteOrder( 8 ); // set stroke linewidth pMET ->WriteUChar( (sal_uInt8)0x15 ) |