Kaydet (Commit) e38ea1de authored tarafından Tamas Bunth's avatar Tamas Bunth Kaydeden (comit) Andras Timar

tdf#114736 no need to call AdjustLayout here

Change-Id: Iae8c953155d46e53cffdf3483e3b4b95157719f6
Reviewed-on: https://gerrit.libreoffice.org/48761Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarTamás Bunth <btomi96@gmail.com>
(cherry picked from commit 9b5730f9)
üst c0ad65f4
...@@ -893,8 +893,6 @@ void OutputDevice::DrawText( const Point& rStartPt, const OUString& rStr, ...@@ -893,8 +893,6 @@ void OutputDevice::DrawText( const Point& rStartPt, const OUString& rStr,
ImplLayoutArgs aLayoutArgs = ImplPrepareLayoutArgs( aStrModifiable, nIndex, nLen, ImplLayoutArgs aLayoutArgs = ImplPrepareLayoutArgs( aStrModifiable, nIndex, nLen,
0, nullptr); 0, nullptr);
// position, justify, etc. the layout
pLayoutCache->AdjustLayout( aLayoutArgs );
pLayoutCache->DrawBase() = ImplLogicToDevicePixel( rStartPt ); pLayoutCache->DrawBase() = ImplLogicToDevicePixel( rStartPt );
ImplDrawText( *pLayoutCache ); ImplDrawText( *pLayoutCache );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment