[Libreoffice-commits] core.git: vcl/source
Chris Sherlock
chris.sherlock79 at gmail.com
Sat Mar 29 23:25:28 PDT 2014
vcl/source/filter/graphicfilter.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 4fb1fb5297fa233d50ea0a31d6d54bb4ea9e00f1
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date: Sun Mar 30 17:24:07 2014 +1100
Encase graphicsfilter warning in an #ifdef
Change-Id: Ib91edb520c4edbbf63e034f174d21c6a74d03929
diff --git a/vcl/source/filter/graphicfilter.cxx b/vcl/source/filter/graphicfilter.cxx
index 56c50e4..8a649a0 100644
--- a/vcl/source/filter/graphicfilter.cxx
+++ b/vcl/source/filter/graphicfilter.cxx
@@ -2282,6 +2282,7 @@ int GraphicFilter::LoadGraphic( const OUString &rPath, const OUString &rFilterNa
OUString aReturnString;
+#ifdef DBG_UTIL
switch (nRes)
{
case GRFILTER_OPENERROR:
@@ -2311,6 +2312,7 @@ int GraphicFilter::LoadGraphic( const OUString &rPath, const OUString &rFilterNa
}
SAL_WARN_IF( nRes, "vcl.filter", "Problem importing graphic " << rPath << ". Reason: " << aReturnString );
+#endif
return nRes;
}
More information about the Libreoffice-commits
mailing list