summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/fileobj.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-03-28 16:43:39 +0200
committerTor Lillqvist <tml@collabora.com>2014-03-28 16:52:36 +0200
commitae00e71afd36f7215669c34e8ea8cafaeed6e468 (patch)
treede3aa1726cb66a996f148e2a8ce8207ae4c2b612 /sfx2/source/appl/fileobj.cxx
parentb6f77d2702721d25ae7be5a749b65a53f55f5ee2 (diff)
Bin rest of DBG_WARNING[123]
Change-Id: Iaaf36d012e353f73f083c9c0ebbbb6d0953b16c8
Diffstat (limited to 'sfx2/source/appl/fileobj.cxx')
-rw-r--r--sfx2/source/appl/fileobj.cxx14
1 files changed, 2 insertions, 12 deletions
diff --git a/sfx2/source/appl/fileobj.cxx b/sfx2/source/appl/fileobj.cxx
index 39db16dee7d6..509b17bc453b 100644
--- a/sfx2/source/appl/fileobj.cxx
+++ b/sfx2/source/appl/fileobj.cxx
@@ -357,23 +357,13 @@ sal_Bool SvFileObject::GetGraphic_Impl( Graphic& rGrf, SvStream* pStream )
if( pStream && ERRCODE_IO_PENDING == pStream->GetError() )
pStream->ResetError();
-#ifdef DBG_UTIL
if( nRes )
{
if( xMed.Is() && !pStream )
- {
- DBG_WARNING3( "Graphic error [%d] - [%s] URL[%s]",
- nRes,
- xMed->GetPhysicalName().getStr(),
- sFileNm.getStr() );
- }
+ SAL_WARN( "sfx.appl", "Graphic error [" << nRes << "] - [" << xMed->GetPhysicalName() << "] URL[" << sFileNm << "]" );
else
- {
- DBG_WARNING2( "Graphic error [%d] - [%s]",
- nRes, sFileNm.getStr() );
- }
+ SAL_WARN( "sfx.appl", "Graphic error [" << nRes << "] - [" << sFileNm << "]" );
}
-#endif
return GRFILTER_OK == nRes;
}