diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/outdev/outdevstate.cxx | 22 | ||||
-rw-r--r-- | vcl/source/outdev/text.cxx | 22 |
2 files changed, 22 insertions, 22 deletions
diff --git a/vcl/source/outdev/outdevstate.cxx b/vcl/source/outdev/outdevstate.cxx index 7ce35cf10b6f..228620a48ad9 100644 --- a/vcl/source/outdev/outdevstate.cxx +++ b/vcl/source/outdev/outdevstate.cxx @@ -288,6 +288,28 @@ void OutputDevice::SetDrawMode( sal_uLong nDrawMode ) mpAlphaVDev->SetDrawMode( nDrawMode ); } +void OutputDevice::SetLayoutMode( sal_uLong nTextLayoutMode ) +{ + if( mpMetaFile ) + mpMetaFile->AddAction( new MetaLayoutModeAction( nTextLayoutMode ) ); + + mnTextLayoutMode = nTextLayoutMode; + + if( mpAlphaVDev ) + mpAlphaVDev->SetLayoutMode( nTextLayoutMode ); +} + +void OutputDevice::SetDigitLanguage( LanguageType eTextLanguage ) +{ + if( mpMetaFile ) + mpMetaFile->AddAction( new MetaTextLanguageAction( eTextLanguage ) ); + + meTextLanguage = eTextLanguage; + + if( mpAlphaVDev ) + mpAlphaVDev->SetDigitLanguage( eTextLanguage ); +} + void OutputDevice::SetRasterOp( RasterOp eRasterOp ) { diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx index dd03ac44a427..4383e5e92f38 100644 --- a/vcl/source/outdev/text.cxx +++ b/vcl/source/outdev/text.cxx @@ -681,28 +681,6 @@ long OutputDevice::ImplGetTextLines( ImplMultiTextLineInfo& rLineInfo, return nMaxLineWidth; } -void OutputDevice::SetLayoutMode( sal_uLong nTextLayoutMode ) -{ - if( mpMetaFile ) - mpMetaFile->AddAction( new MetaLayoutModeAction( nTextLayoutMode ) ); - - mnTextLayoutMode = nTextLayoutMode; - - if( mpAlphaVDev ) - mpAlphaVDev->SetLayoutMode( nTextLayoutMode ); -} - -void OutputDevice::SetDigitLanguage( LanguageType eTextLanguage ) -{ - if( mpMetaFile ) - mpMetaFile->AddAction( new MetaTextLanguageAction( eTextLanguage ) ); - - meTextLanguage = eTextLanguage; - - if( mpAlphaVDev ) - mpAlphaVDev->SetDigitLanguage( eTextLanguage ); -} - void OutputDevice::SetTextColor( const Color& rColor ) { |