summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTamas Bunth <tamas.bunth@collabora.co.uk>2018-01-28 00:14:55 +0100
committerTamás Bunth <btomi96@gmail.com>2018-01-28 15:58:46 +0100
commit9b5730f92967b6a8f4fce349bcd951f388b940df (patch)
tree1cff188a82d538b1d6ec9f4d9c85e66b6d6f7639
parenttdf#115276: multiply quarter-points by 5 (not divide) to convert to twips (diff)
downloadcore-9b5730f92967b6a8f4fce349bcd951f388b940df.tar.gz
core-9b5730f92967b6a8f4fce349bcd951f388b940df.zip
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>
-rw-r--r--vcl/source/outdev/text.cxx2
1 files changed, 0 insertions, 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 );