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

Caolán McNamara caolanm at redhat.com
Tue Nov 21 16:35:26 UTC 2017


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

New commits:
commit beacf493dc4c8a62148ed75e959688d676ce0243
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Nov 21 16:30:48 2017 +0000

    silence warning
    
    Change-Id: I22e37ed4be19a39c061015f81938ab2d854db9b5
    Reviewed-on: https://gerrit.libreoffice.org/45042
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx
index 9a44a10fb469..382400fe4eaf 100644
--- a/vcl/source/outdev/font.cxx
+++ b/vcl/source/outdev/font.cxx
@@ -867,7 +867,7 @@ vcl::Font OutputDevice::GetDefaultFont( DefaultFontType nType, LanguageType eLan
             {
                 if( !pOutDev )
                 {
-                    SAL_WARN ("vcl.gdi", "No default window has been set for the application - we really shouldn't be able to get here");
+                    SAL_WARN_IF(!utl::ConfigManager::IsFuzzing(), "vcl.gdi", "No default window has been set for the application - we really shouldn't be able to get here");
                     sal_Int32 nIndex = 0;
                     aFont.SetFamilyName( aSearch.getToken( 0, ';', nIndex ) );
                 }


More information about the Libreoffice-commits mailing list