diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-05 13:03:21 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-11 23:41:06 +0100 |
commit | a532a6e662a02ee88b45f3a2a2453321d0ba002a (patch) | |
tree | 8a9c32546faf1a194e42f2cbc3e1724b7435c84d | |
parent | 533f89e49395bbc31baaab9ade46db934b383e14 (diff) |
Move DBG_ERROR2 to OSL_TRACE
-rw-r--r-- | toolkit/source/layout/core/import.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/layout/core/proplist.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/source/layout/core/import.cxx b/toolkit/source/layout/core/import.cxx index 6a0ca24d8c45..299eb6478d01 100644 --- a/toolkit/source/layout/core/import.cxx +++ b/toolkit/source/layout/core/import.cxx @@ -150,7 +150,7 @@ WidgetElement::startChildElement ( sal_Int32 nUid, OUString const &name, if ( !mpWidget->addChild( pChild->mpWidget ) ) { - DBG_ERROR2( "ERROR: cannot add %s to container %s, container full", OUSTRING_CSTR( name ), OUSTRING_CSTR( getLocalName() ) ); + OSL_TRACE( "ERROR: cannot add %s to container %s, container full", OUSTRING_CSTR( name ), OUSTRING_CSTR( getLocalName() ) ); throw xml::sax::SAXException(); } diff --git a/toolkit/source/layout/core/proplist.cxx b/toolkit/source/layout/core/proplist.cxx index 6020c6cb1ce3..0b7553330308 100644 --- a/toolkit/source/layout/core/proplist.cxx +++ b/toolkit/source/layout/core/proplist.cxx @@ -250,7 +250,7 @@ setProperties( uno::Reference< uno::XInterface > const& xPeer, for ( PropList::const_iterator it = rProps.begin(); it != rProps.end(); ++it ) { - DBG_ERROR2( "%s=%s\n", OUSTRING_CSTR( it->first ), OUSTRING_CSTR( it->second ) ); + OSL_TRACE( "%s=%s\n", OUSTRING_CSTR( it->first ), OUSTRING_CSTR( it->second ) ); } return; } @@ -306,7 +306,7 @@ setProperty( uno::Reference< uno::XInterface > const& xPeer, } catch( ... ) { - DBG_ERROR2( "Warning: cannot set attribute %s to %s \n", OUSTRING_CSTR( unoAttr ), OUSTRING_CSTR( value ) ); + OSL_TRACE( "Warning: cannot set attribute %s to %s \n", OUSTRING_CSTR( unoAttr ), OUSTRING_CSTR( value ) ); } } |