summaryrefslogtreecommitdiff
path: root/forms/source/misc
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-01 17:55:09 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-02 15:00:30 +0100
commitfcfd8b64c4e427d4599dd9da4148860f732b6ec6 (patch)
tree37d4040aa4c8df9dc3d871c3509a238f4efde709 /forms/source/misc
parentf6e0b00643e252001768e0b2e19de070654e9afe (diff)
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'forms/source/misc')
-rw-r--r--forms/source/misc/InterfaceContainer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/misc/InterfaceContainer.cxx b/forms/source/misc/InterfaceContainer.cxx
index e6f564532..6af924d7b 100644
--- a/forms/source/misc/InterfaceContainer.cxx
+++ b/forms/source/misc/InterfaceContainer.cxx
@@ -608,7 +608,7 @@ void SAL_CALL OInterfaceContainer::read( const Reference< XObjectInputStream >&
}
catch( const Exception& )
{
- DBG_ERROR( "OInterfaceContainerHelper::read: reading succeeded, but not inserting!" );
+ OSL_FAIL( "OInterfaceContainerHelper::read: reading succeeded, but not inserting!" );
// create a placeholder
xElement = xElement.query( lcl_createPlaceHolder( m_xServiceFactory ) );
if ( !xElement.is() )
@@ -1135,7 +1135,7 @@ void SAL_CALL OInterfaceContainer::insertByName(const ::rtl::OUString& _rName, c
}
catch( const Exception& )
{
- DBG_ERROR( "OInterfaceContainer::insertByName: caught an exception!" );
+ OSL_FAIL( "OInterfaceContainer::insertByName: caught an exception!" );
}
implInsert( m_aItems.size(), xElementProps, sal_True, aElementMetaData.get(), sal_True );
}