Encase graphicsfilter warning in an #ifdef

Change-Id: Ib91edb520c4edbbf63e034f174d21c6a74d03929
This commit is contained in:
Chris Sherlock
2014-03-30 17:24:07 +11:00
parent b6a43bcbbf
commit 4fb1fb5297

View File

@@ -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;
}