summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorTamas Bunth <tamas.bunth@collabora.co.uk>2018-01-28 00:14:55 +0100
committerEike Rathke <erack@redhat.com>2018-06-19 23:39:51 +0200
commitbdeb53b8dfee78ea312110563d1e80b969436cbc (patch)
treecbff6a04828bf94d28cc0abca0334de690a4e178 /vcl/source
parentd239717f91dd99c73e71f4e312092ecb4bc9d82c (diff)
tdf#114736 no need to call AdjustLayout here
Change-Id: Iae8c953155d46e53cffdf3483e3b4b95157719f6 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/55795 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/outdev/text.cxx7
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 );