summaryrefslogtreecommitdiff
path: root/sw/source/core/ole
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-01 19:09:12 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-02 15:06:08 +0100
commitb59db0e69e83d694f6cb0bade4f567fe0da536a5 (patch)
tree05805d98ed0d80f75ce07177241ff04cbe7caa1d /sw/source/core/ole
parent4098e3e81f28b0e89003037117dd2710f31e6a49 (diff)
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'sw/source/core/ole')
-rw-r--r--sw/source/core/ole/ndole.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/ole/ndole.cxx b/sw/source/core/ole/ndole.cxx
index 51c099c644ed..c17287566bec 100644
--- a/sw/source/core/ole/ndole.cxx
+++ b/sw/source/core/ole/ndole.cxx
@@ -312,7 +312,7 @@ BOOL SwOLENode::RestorePersistentData()
{
if ( xChild.is() )
xChild->setParent( 0 );
- DBG_ERROR( "InsertObject failed" );
+ OSL_FAIL( "InsertObject failed" );
}
else
{
@@ -747,7 +747,7 @@ void SwOLEObj::SetNode( SwOLENode* pNode )
xChild->setParent( p->GetModel() );
if (!p->GetEmbeddedObjectContainer().InsertEmbeddedObject( xOLERef.GetObject(), aObjName ) )
{
- DBG_ERROR( "InsertObject failed" );
+ OSL_FAIL( "InsertObject failed" );
if ( xChild.is() )
xChild->setParent( 0 );
}
@@ -863,7 +863,7 @@ BOOL SwOLEObj::UnloadObject( uno::Reference< embed::XEmbeddedObject > xObj, cons
if ( xPers.is() )
xPers->storeOwn();
else {
- DBG_ERROR("Modified object without persistance in cache!");
+ OSL_FAIL("Modified object without persistance in cache!");
}
}