diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-19 14:23:13 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-19 15:13:33 +0000 |
commit | 5a5cd0ac64c9a56f6d680a2aec2821c8d888f688 (patch) | |
tree | 99917b8ca26c8a71a92cba24fab8d549db2a31d9 /vcl/unx | |
parent | 484658f9df81b06e7444b5c7c2cc7841abf829e7 (diff) |
silence warning spew, these aren't serious
Change-Id: I8c027a5ec0ed61722eb299d247d79032fd1dcd84
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/generic/printer/ppdparser.cxx | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/vcl/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx index 234ed35d5100..012ec9587491 100644 --- a/vcl/unx/generic/printer/ppdparser.cxx +++ b/vcl/unx/generic/printer/ppdparser.cxx @@ -739,19 +739,13 @@ PPDParser::PPDParser( const OUString& rFile ) : if (m_pResolutions == nullptr) { SAL_WARN( "vcl.unx.print", "no Resolution in " << m_aFile); } - if (m_pDefaultResolution == nullptr) { - SAL_WARN( "vcl.unx.print", "no DefaultResolution in " + m_aFile); - } + SAL_INFO_IF(!m_pDefaultResolution, "vcl.unx.print", "no DefaultResolution in " + m_aFile); m_pInputSlots = getKey( OUString( "InputSlot" ) ); if( m_pInputSlots ) m_pDefaultInputSlot = m_pInputSlots->getDefaultValue(); - if (m_pInputSlots == nullptr) { - SAL_WARN( "vcl.unx.print", "no InputSlot in " << m_aFile); - } - if (m_pDefaultInputSlot == nullptr) { - SAL_WARN( "vcl.unx.print", "no DefaultInputSlot in " << m_aFile); - } + SAL_INFO_IF(!m_pInputSlots, "vcl.unx.print", "no InputSlot in " << m_aFile); + SAL_INFO_IF(!m_pDefaultInputSlot, "vcl.unx.print", "no DefaultInputSlot in " << m_aFile); m_pDuplexTypes = getKey( OUString( "Duplex" ) ); if( m_pDuplexTypes ) |