Kaydet (Commit) 26ea01a4 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Use SAL_WARN_IF instead of DBG_WARNING2 and don't pass UTF-16 for %s

For lolz, I kept the useful German word "GrafikFehler" in the message, though.

Change-Id: Ib714e27eef986cacfc979f132f1b2c29e603d9b0
üst d757a980
...@@ -2280,10 +2280,7 @@ int GraphicFilter::LoadGraphic( const OUString &rPath, const OUString &rFilterNa ...@@ -2280,10 +2280,7 @@ int GraphicFilter::LoadGraphic( const OUString &rPath, const OUString &rFilterNa
else else
nRes = pFilter->ImportGraphic( rGraphic, rPath, *pStream, nFilter, pDeterminedFormat ); nRes = pFilter->ImportGraphic( rGraphic, rPath, *pStream, nFilter, pDeterminedFormat );
#ifdef DBG_UTIL SAL_WARN_IF( nRes, "vcl.filter", "GrafikFehler [" << nRes << "] - [" << rPath << "]" );
if( nRes )
DBG_WARNING2( "GrafikFehler [%d] - [%s]", nRes, rPath.getStr() );
#endif
return nRes; return nRes;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment