summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-04 21:31:27 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-11 23:41:06 +0100
commit533f89e49395bbc31baaab9ade46db934b383e14 (patch)
tree9ded4a41edf1f0ac42bd7819f2ef5927b993935e /toolkit
parent5cce85634ce63fbbed99ba83f844ae179b485bc1 (diff)
Move DBG_ERROR1 to OSL_TRACE
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/layout/core/dialogbuttonhbox.cxx2
-rw-r--r--toolkit/source/layout/core/helper.cxx2
-rw-r--r--toolkit/source/layout/core/proplist.cxx6
-rw-r--r--toolkit/source/layout/vcl/wbutton.cxx2
-rw-r--r--toolkit/source/layout/vcl/wcontainer.cxx2
-rw-r--r--toolkit/source/layout/vcl/wrapper.cxx2
6 files changed, 8 insertions, 8 deletions
diff --git a/toolkit/source/layout/core/dialogbuttonhbox.cxx b/toolkit/source/layout/core/dialogbuttonhbox.cxx
index 20e2f82342ba..b577e98be65f 100644
--- a/toolkit/source/layout/core/dialogbuttonhbox.cxx
+++ b/toolkit/source/layout/core/dialogbuttonhbox.cxx
@@ -90,7 +90,7 @@ DialogButtonHBox::setOrdering( rtl::OUString const& ordering )
mnOrdering = WINDOWS;
else
{
- DBG_ERROR1( "DialogButtonHBox: no such ordering: %s", OUSTRING_CSTR( ordering ) );
+ OSL_TRACE( "DialogButtonHBox: no such ordering: %s", OUSTRING_CSTR( ordering ) );
}
}
diff --git a/toolkit/source/layout/core/helper.cxx b/toolkit/source/layout/core/helper.cxx
index 43a1a1e6e2c3..86419bcd618c 100644
--- a/toolkit/source/layout/core/helper.cxx
+++ b/toolkit/source/layout/core/helper.cxx
@@ -167,7 +167,7 @@ uno::Reference <awt::XLayoutConstrains> WidgetFactory::toolkitCreateWidget (uno:
}
catch( uno::Exception & )
{
- DBG_ERROR1( "Warning: %s is not a recognized type\n", OUSTRING_CSTR( name ) );
+ OSL_TRACE( "Warning: %s is not a recognized type\n", OUSTRING_CSTR( name ) );
return uno::Reference< awt::XLayoutConstrains >();
}
diff --git a/toolkit/source/layout/core/proplist.cxx b/toolkit/source/layout/core/proplist.cxx
index 9c7ad34d2e64..6020c6cb1ce3 100644
--- a/toolkit/source/layout/core/proplist.cxx
+++ b/toolkit/source/layout/core/proplist.cxx
@@ -200,7 +200,7 @@ uno::Any anyFromString( OUString const& value, uno::Type const& type )
}
default:
- DBG_ERROR1( "ERROR: unknown property type of value: `%s'\n", OUSTRING_CSTR( value ) );
+ OSL_TRACE( "ERROR: unknown property type of value: `%s'\n", OUSTRING_CSTR( value ) );
break;
}
throw uno::RuntimeException();
@@ -277,13 +277,13 @@ setProperty( uno::Reference< uno::XInterface > const& xPeer,
}
catch( beans::UnknownPropertyException & )
{
- DBG_ERROR1( "Warning: unknown attribute: `%s'\n", OUSTRING_CSTR( unoAttr ) );
+ OSL_TRACE( "Warning: unknown attribute: `%s'\n", OUSTRING_CSTR( unoAttr ) );
return;
}
if ( prop.Name.getLength() <= 0 )
{
- DBG_ERROR1( "Warning: missing prop: `%s'\n", OUSTRING_CSTR( unoAttr ) );
+ OSL_TRACE( "Warning: missing prop: `%s'\n", OUSTRING_CSTR( unoAttr ) );
return;
}
diff --git a/toolkit/source/layout/vcl/wbutton.cxx b/toolkit/source/layout/vcl/wbutton.cxx
index f0b6ff787b54..5e303ada03ba 100644
--- a/toolkit/source/layout/vcl/wbutton.cxx
+++ b/toolkit/source/layout/vcl/wbutton.cxx
@@ -64,7 +64,7 @@ class ImageImpl
{
if ( !mxGraphic.is() )
{
- DBG_ERROR1( "ERROR: failed to load image: `%s'\n", pName );
+ OSL_TRACE( "ERROR: failed to load image: `%s'\n", pName );
}
}
};
diff --git a/toolkit/source/layout/vcl/wcontainer.cxx b/toolkit/source/layout/vcl/wcontainer.cxx
index 950a006d1fed..699a1af14761 100644
--- a/toolkit/source/layout/vcl/wcontainer.cxx
+++ b/toolkit/source/layout/vcl/wcontainer.cxx
@@ -44,7 +44,7 @@ Container::Container( Context const* context, char const* pId )
{
if ( !mxContainer.is() )
{
- DBG_ERROR1( "Error: failed to associate container with '%s'", pId );
+ OSL_TRACE( "Error: failed to associate container with '%s'", pId );
}
}
diff --git a/toolkit/source/layout/vcl/wrapper.cxx b/toolkit/source/layout/vcl/wrapper.cxx
index 6a740b7582d9..b39d14c1e4f1 100644
--- a/toolkit/source/layout/vcl/wrapper.cxx
+++ b/toolkit/source/layout/vcl/wrapper.cxx
@@ -151,7 +151,7 @@ PeerHandle Context::GetPeerHandle( const char *id, sal_uInt32 nId ) const
xHandle = pImpl->getByName( OUString( id, strlen( id ), RTL_TEXTENCODING_UTF8 ) );
if ( !xHandle.is() )
{
- DBG_ERROR1( "Failed to fetch widget '%s'", id );
+ OSL_TRACE( "Failed to fetch widget '%s'", id );
}
if ( nId != 0 )