diff options
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/outdev/text.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx index 5694a8165b58..6d43a5b9f9a3 100644 --- a/vcl/source/outdev/text.cxx +++ b/vcl/source/outdev/text.cxx @@ -888,13 +888,6 @@ void OutputDevice::DrawText( const Point& rStartPt, const OUString& rStr, if( mbInitFont ) InitFont(); - - OUString aStrModifiable = rStr; - ImplLayoutArgs aLayoutArgs = ImplPrepareLayoutArgs( aStrModifiable, nIndex, nLen, - 0, nullptr); - - // position, justify, etc. the layout - pLayoutCache->AdjustLayout( aLayoutArgs ); pLayoutCache->DrawBase() = ImplLogicToDevicePixel( rStartPt ); ImplDrawText( *pLayoutCache ); |