summaryrefslogtreecommitdiff
path: root/sd/source/filter/ppt/propread.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-01 19:06:55 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-02 15:03:01 +0100
commitf4aaa487d7e90c8f4e8ccfcf80adb69904cffdd6 (patch)
tree6b70319ed584a13db025a28c05cde14ccd018758 /sd/source/filter/ppt/propread.cxx
parent310a1740120521869af5b2d1503a14b5c138aed2 (diff)
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'sd/source/filter/ppt/propread.cxx')
-rw-r--r--sd/source/filter/ppt/propread.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/filter/ppt/propread.cxx b/sd/source/filter/ppt/propread.cxx
index e711263291c8..74f89d2ebd45 100644
--- a/sd/source/filter/ppt/propread.cxx
+++ b/sd/source/filter/ppt/propread.cxx
@@ -156,7 +156,7 @@ BOOL PropItem::Read( String& rString, sal_uInt32 nStringType, sal_Bool bAlign )
}
catch( const std::bad_alloc& )
{
- DBG_ERROR( "sd PropItem::Read bad alloc" );
+ OSL_FAIL( "sd PropItem::Read bad alloc" );
}
}
if ( bAlign )
@@ -185,7 +185,7 @@ BOOL PropItem::Read( String& rString, sal_uInt32 nStringType, sal_Bool bAlign )
}
catch( const std::bad_alloc& )
{
- DBG_ERROR( "sd PropItem::Read bad alloc" );
+ OSL_FAIL( "sd PropItem::Read bad alloc" );
}
}
if ( bAlign && ( nItemSize & 1 ) )
@@ -399,7 +399,7 @@ sal_Bool Section::GetDictionary( Dictionary& rDict )
}
catch( const std::bad_alloc& )
{
- DBG_ERROR( "sd Section::GetDictionary bad alloc" );
+ OSL_FAIL( "sd Section::GetDictionary bad alloc" );
}
if ( !aString.Len() )
break;