summaryrefslogtreecommitdiff
path: root/unotools/source/property
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-01 19:08:19 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-02 14:46:42 +0100
commit11d20507806d30e2d1955b93a568b84a2216ef69 (patch)
treeb34fa3afac27eac9404f16e46b530aa2cbcad41d /unotools/source/property
parent7b981b7cab15e0fc2ebb159df2d40c3a2499b265 (diff)
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'unotools/source/property')
-rw-r--r--unotools/source/property/propertysethelper.cxx6
-rw-r--r--unotools/source/property/propertysetinfo.cxx4
2 files changed, 5 insertions, 5 deletions
diff --git a/unotools/source/property/propertysethelper.cxx b/unotools/source/property/propertysethelper.cxx
index 26901e2ca46e..8e884cffbbea 100644
--- a/unotools/source/property/propertysethelper.cxx
+++ b/unotools/source/property/propertysethelper.cxx
@@ -285,17 +285,17 @@ Any SAL_CALL PropertySetHelper::getPropertyDefault( const ::rtl::OUString& aProp
void PropertySetHelper::_getPropertyStates( const utl::PropertyMapEntry** /*ppEntries*/, PropertyState* /*pStates*/ ) throw(UnknownPropertyException )
{
- DBG_ERROR( "you have to implement this yourself!" );
+ OSL_FAIL( "you have to implement this yourself!" );
}
void PropertySetHelper::_setPropertyToDefault( const utl::PropertyMapEntry* /*pEntry*/ ) throw(UnknownPropertyException )
{
- DBG_ERROR( "you have to implement this yourself!" );
+ OSL_FAIL( "you have to implement this yourself!" );
}
Any PropertySetHelper::_getPropertyDefault( const utl::PropertyMapEntry* /*pEntry*/ ) throw(UnknownPropertyException, WrappedTargetException )
{
- DBG_ERROR( "you have to implement this yourself!" );
+ OSL_FAIL( "you have to implement this yourself!" );
Any aAny;
return aAny;
diff --git a/unotools/source/property/propertysetinfo.cxx b/unotools/source/property/propertysetinfo.cxx
index 06feee364746..295486d3bf4c 100644
--- a/unotools/source/property/propertysetinfo.cxx
+++ b/unotools/source/property/propertysetinfo.cxx
@@ -81,12 +81,12 @@ void PropertyMapImpl::add( PropertyMapEntry* pMap ) throw()
PropertyMap::iterator aIter = maPropertyMap.find( aName );
if( aIter != maPropertyMap.end() )
{
- DBG_ERROR( "Warning: PropertyMapEntry added twice, possible error!" );
+ OSL_FAIL( "Warning: PropertyMapEntry added twice, possible error!" );
}
#endif
if( NULL == pMap->mpType )
{
- DBG_ERROR( "No type in PropertyMapEntry!" );
+ OSL_FAIL( "No type in PropertyMapEntry!" );
pMap->mpType = &::getCppuType((const sal_Int32*)0);
}