diff options
author | Caolán McNamara <caolanm@redhat.com> | 2023-01-18 09:58:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2023-01-18 12:25:01 +0000 |
commit | ae76a67623a3d4063de4d2be7dc94ec5b977b7b2 (patch) | |
tree | 80cfbc41fad33b0a7d158861bc71daa854dd1323 /vcl/unx/generic | |
parent | 90ffbbdcd3ad050b07d2acdbef4d325f73901e0f (diff) |
Related: tdf#152770 we don't use the font list, so don't warn if its empty
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 <caolanm@redhat.com>
Diffstat (limited to 'vcl/unx/generic')
-rw-r--r-- | vcl/unx/generic/printer/ppdparser.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
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<PPDKey*>& 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"))) { |