[Libreoffice-commits] .: oox/source

Michael Meeks michael at kemper.freedesktop.org
Fri Feb 24 03:23:37 PST 2012


 oox/source/drawingml/textliststyle.cxx           |    2 +-
 oox/source/drawingml/textparagraphproperties.cxx |    2 +-
 oox/source/helper/propertyset.cxx                |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 602908b300d4d688d50355ebeca5d3063f25f475
Author: Michael Meeks <michael.meeks at suse.com>
Date:   Fri Feb 24 11:19:56 2012 +0000

    fix oox debug build with DBG_UTIL guard for 'dump' usage

diff --git a/oox/source/drawingml/textliststyle.cxx b/oox/source/drawingml/textliststyle.cxx
index edd50f0..663a5d5 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 a916f45..6eea22f 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 71f0d4e..e973318 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 ) );


More information about the Libreoffice-commits mailing list