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

Johnny_M (via logerrit) logerrit at kemper.freedesktop.org
Mon Apr 8 09:55:11 UTC 2019


 svx/source/svdraw/svdotext.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a3ee61550e4308782d53265c4b1685aeb8bf0ed7
Author:     Johnny_M <klasse at partyheld.de>
AuthorDate: Sun Apr 7 12:01:19 2019 +0200
Commit:     Michael Stahl <Michael.Stahl at cib.de>
CommitDate: Mon Apr 8 11:54:48 2019 +0200

    Translate German variable names
    
    Please feel free to suggest a better name, if desired
    
    Change-Id: Ie7ea0dbeb13970fb1b1680740e6a2b40871421a9
    Reviewed-on: https://gerrit.libreoffice.org/70371
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <Michael.Stahl at cib.de>

diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx
index 10f42a96bb17..898d21bdbb68 100644
--- a/svx/source/svdraw/svdotext.cxx
+++ b/svx/source/svdraw/svdotext.cxx
@@ -826,7 +826,7 @@ void SdrTextObj::ImpSetCharStretching(SdrOutliner& rOutliner, const Size& rTextS
         if(pMtf)
             pMtf->Pause(true);
 
-        vcl::Font aFontMerk(pOut->GetFont());
+        vcl::Font aOriginalFont(pOut->GetFont());
         vcl::Font aTmpFont( OutputDevice::GetDefaultFont( DefaultFontType::SERIF, LANGUAGE_SYSTEM, GetDefaultFontFlags::OnlyOne ) );
 
         aTmpFont.SetFontSize(Size(0,100));
@@ -835,7 +835,7 @@ void SdrTextObj::ImpSetCharStretching(SdrOutliner& rOutliner, const Size& rTextS
         aTmpFont.SetFontSize(Size(800,100));
         pOut->SetFont(aTmpFont);
         Size aSize2(pOut->GetTextWidth(aTestString), pOut->GetTextHeight());
-        pOut->SetFont(aFontMerk);
+        pOut->SetFont(aOriginalFont);
 
         if(pMtf)
             pMtf->Pause(false);


More information about the Libreoffice-commits mailing list