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

Mike Kaganski mike.kaganski at collabora.com
Tue Dec 26 09:41:29 UTC 2017


 vcl/source/outdev/font.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit b41fa706e0d4d16d9865ba295a8960376c96597f
Author: Mike Kaganski <mike.kaganski at collabora.com>
Date:   Tue Dec 26 08:29:51 2017 +0100

    Remove redundant call to OutputDevice::ImplRefreshAllFontData
    
    Since commit 40809ce46999e9cedb2fe5db8e9d53ebb6c182bf,
    OutputDevice::AddTempDevFont called OutputDevice::ImplRefreshAllFontData
    twice: first time explicitly before return, second time in UpdateFontsGuard
    destructor.
    
    Change-Id: Ie67bdcbd98de5f6053379af700239246412b88db
    Reviewed-on: https://gerrit.libreoffice.org/47066
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>

diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx
index 382400fe4eaf..778f6e2ed1a7 100644
--- a/vcl/source/outdev/font.cxx
+++ b/vcl/source/outdev/font.cxx
@@ -161,7 +161,6 @@ bool OutputDevice::AddTempDevFont( const OUString& rFileURL, const OUString& rFo
     if( mpAlphaVDev )
         mpAlphaVDev->AddTempDevFont( rFileURL, rFontName );
 
-    OutputDevice::ImplRefreshAllFontData(true);
     return true;
 }
 


More information about the Libreoffice-commits mailing list