From 9b5730f92967b6a8f4fce349bcd951f388b940df Mon Sep 17 00:00:00 2001 From: Tamas Bunth Date: Sun, 28 Jan 2018 00:14:55 +0100 Subject: tdf#114736 no need to call AdjustLayout here MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Iae8c953155d46e53cffdf3483e3b4b95157719f6 Reviewed-on: https://gerrit.libreoffice.org/48761 Tested-by: Jenkins Reviewed-by: Tamás Bunth --- vcl/source/outdev/text.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx index 88ba96a36ce4..10daf309737e 100644 --- a/vcl/source/outdev/text.cxx +++ b/vcl/source/outdev/text.cxx @@ -886,8 +886,6 @@ void OutputDevice::DrawText( const Point& rStartPt, const OUString& rStr, ImplLayoutArgs aLayoutArgs = ImplPrepareLayoutArgs( aStrModifiable, nIndex, nLen, 0, nullptr); - // position, justify, etc. the layout - pLayoutCache->AdjustLayout( aLayoutArgs ); pLayoutCache->DrawBase() = ImplLogicToDevicePixel( rStartPt ); ImplDrawText( *pLayoutCache ); -- cgit