summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-03-28 15:17:43 +0200
committerTor Lillqvist <tml@collabora.com>2014-03-28 15:51:28 +0200
commit26ea01a41978ba503119f8a758eb842a41e74a6c (patch)
tree9d7c5540e7b4ff0c4e90edaa41f3f335765894ae /vcl/source
parentd757a98001a65baf4066c2eda037a08ab1beda46 (diff)
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
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/filter/graphicfilter.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/source/filter/graphicfilter.cxx b/vcl/source/filter/graphicfilter.cxx
index 4605abdd890e..6a2efe709e00 100644
--- a/vcl/source/filter/graphicfilter.cxx
+++ b/vcl/source/filter/graphicfilter.cxx
@@ -2280,10 +2280,7 @@ int GraphicFilter::LoadGraphic( const OUString &rPath, const OUString &rFilterNa
else
nRes = pFilter->ImportGraphic( rGraphic, rPath, *pStream, nFilter, pDeterminedFormat );
-#ifdef DBG_UTIL
- if( nRes )
- DBG_WARNING2( "GrafikFehler [%d] - [%s]", nRes, rPath.getStr() );
-#endif
+ SAL_WARN_IF( nRes, "vcl.filter", "GrafikFehler [" << nRes << "] - [" << rPath << "]" );
return nRes;
}