summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-02-24 11:19:56 +0000
committerMichael Meeks <michael.meeks@suse.com>2012-02-24 11:22:29 +0000
commit602908b300d4d688d50355ebeca5d3063f25f475 (patch)
tree9315310c70884a1150a3c00668e7b2cfa75dd76b /oox
parent3ad0561957537ac755206347c0902632985126fe (diff)
fix oox debug build with DBG_UTIL guard for 'dump' usage
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/textliststyle.cxx2
-rw-r--r--oox/source/drawingml/textparagraphproperties.cxx2
-rw-r--r--oox/source/helper/propertyset.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/drawingml/textliststyle.cxx b/oox/source/drawingml/textliststyle.cxx
index edd50f0e04ff..663a5d5f9a5b 100644
--- a/oox/source/drawingml/textliststyle.cxx
+++ b/oox/source/drawingml/textliststyle.cxx
@@ -66,7 +66,7 @@ void TextListStyle::apply( const TextListStyle& rTextListStyle )
applyStyleList( rTextListStyle.getListStyle(), getListStyle() );
}
-#if OSL_DEBUG_LEVEL > 0
+#ifdef DBG_UTIL
void TextListStyle::dump() const
{
for ( int i = 0; i < 9; i++ )
diff --git a/oox/source/drawingml/textparagraphproperties.cxx b/oox/source/drawingml/textparagraphproperties.cxx
index a916f4570d28..6eea22fd21a4 100644
--- a/oox/source/drawingml/textparagraphproperties.cxx
+++ b/oox/source/drawingml/textparagraphproperties.cxx
@@ -467,7 +467,7 @@ float TextParagraphProperties::getCharHeightPoints( float fDefault ) const
}
-#if OSL_DEBUG_LEVEL > 0
+#ifdef DBG_UTIL
void TextParagraphProperties::dump() const
{
diff --git a/oox/source/helper/propertyset.cxx b/oox/source/helper/propertyset.cxx
index 71f0d4e0c76b..e9733185792c 100644
--- a/oox/source/helper/propertyset.cxx
+++ b/oox/source/helper/propertyset.cxx
@@ -178,7 +178,7 @@ bool PropertySet::implSetPropertyValue( const OUString& rPropName, const Any& rV
return false;
}
-#if OSL_DEBUG_LEVEL > 0
+#ifdef DBG_UTIL
void PropertySet::dump()
{
PropertyMap::dump( Reference< XPropertySet >( getXPropertySet(), UNO_QUERY ) );