Encase graphicsfilter warning in an #ifdef
Change-Id: Ib91edb520c4edbbf63e034f174d21c6a74d03929
This commit is contained in:
@@ -2282,6 +2282,7 @@ int GraphicFilter::LoadGraphic( const OUString &rPath, const OUString &rFilterNa
|
|||||||
|
|
||||||
OUString aReturnString;
|
OUString aReturnString;
|
||||||
|
|
||||||
|
#ifdef DBG_UTIL
|
||||||
switch (nRes)
|
switch (nRes)
|
||||||
{
|
{
|
||||||
case GRFILTER_OPENERROR:
|
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 );
|
SAL_WARN_IF( nRes, "vcl.filter", "Problem importing graphic " << rPath << ". Reason: " << aReturnString );
|
||||||
|
#endif
|
||||||
|
|
||||||
return nRes;
|
return nRes;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user