diff options
author | Tamas Bunth <tamas.bunth@collabora.co.uk> | 2018-01-28 00:14:55 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2018-06-27 06:41:53 +0200 |
commit | 4d48fbf01b7d385037933035be29c1426e7a2d45 (patch) | |
tree | fb77d389eeadabbe7dce4c7d080be32603cda6f2 /vcl | |
parent | 700f1916664db0ba9f5fcea1fb93992fe2112438 (diff) |
tdf#114736 no need to call AdjustLayout here
Reviewed-on: https://gerrit.libreoffice.org/48761
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tamás Bunth <btomi96@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/49033
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
(cherry picked from commit 221234c0203d5b3caf6907bff110fc1a9b71a5ad)
Change-Id: Iae8c953155d46e53cffdf3483e3b4b95157719f6
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/outdev/text.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx index 2153edf07350..6d43a5b9f9a3 100644 --- a/vcl/source/outdev/text.cxx +++ b/vcl/source/outdev/text.cxx @@ -888,11 +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); - pLayoutCache->DrawBase() = ImplLogicToDevicePixel( rStartPt ); ImplDrawText( *pLayoutCache ); |