[Libreoffice-commits] core.git: vcl/source

Eike Rathke erack at redhat.com
Thu Jun 14 19:45:34 UTC 2018


 vcl/source/outdev/text.cxx |    5 -----
 1 file changed, 5 deletions(-)

New commits:
commit 509c706aa07440a573f0e0c44499b82cde068ad2
Author: Eike Rathke <erack at redhat.com>
Date:   Thu Jun 14 16:43:34 2018 +0200

    Remove now unuseds
    
    Which effectively would be going to happen with
    https://gerrit.libreoffice.org/49033 for 6-0 and
    https://gerrit.libreoffice.org/55795 for 6-0-5
    so have the same on master in case it would have unknown side
    effects.
    
    Change-Id: I312d7c5e723fb9417ac512641acb843ecd7a9867
    Reviewed-on: https://gerrit.libreoffice.org/55811
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Jenkins

diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx
index 211dda947df8..31a19fb3c334 100644
--- a/vcl/source/outdev/text.cxx
+++ b/vcl/source/outdev/text.cxx
@@ -890,11 +890,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 );


More information about the Libreoffice-commits mailing list