From ae76a67623a3d4063de4d2be7dc94ec5b977b7b2 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 18 Jan 2023 09:58:20 +0000 Subject: Related: tdf#152770 we don't use the font list, so don't warn if its empty MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this is a left over from unused code removal Change-Id: I6f6451561ae644a41d402f4de0d805a00945a66d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145712 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- vcl/unx/generic/printer/ppdparser.cxx | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'vcl/unx/generic') diff --git a/vcl/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx index dfe553caa6ed..07ce7005b2ca 100644 --- a/vcl/unx/generic/printer/ppdparser.cxx +++ b/vcl/unx/generic/printer/ppdparser.cxx @@ -689,11 +689,6 @@ PPDParser::PPDParser(OUString aFile, const std::vector& keys) SAL_INFO_IF(!pInputSlots, "vcl.unx.print", "no InputSlot in " << m_aFile); SAL_INFO_IF(!m_pDefaultInputSlot, "vcl.unx.print", "no DefaultInputSlot in " << m_aFile); - auto pFontList = getKey( "Font" ); - if (pFontList == nullptr) { - SAL_WARN( "vcl.unx.print", "no Font in " << m_aFile); - } - // fill in direct values if( (pKey = getKey( "print-color-mode" )) ) m_bColorDevice = pKey->countValues() > 1; @@ -852,11 +847,6 @@ PPDParser::PPDParser( OUString aFile ) : SAL_INFO_IF(!pInputSlots, "vcl.unx.print", "no InputSlot in " << m_aFile); SAL_INFO_IF(!m_pDefaultInputSlot, "vcl.unx.print", "no DefaultInputSlot in " << m_aFile); - auto pFontList = getKey( "Font" ); - if (pFontList == nullptr) { - SAL_WARN( "vcl.unx.print", "no Font in " << m_aFile); - } - // fill in direct values if ((pKey = getKey("ColorDevice"))) { -- cgit