From 15af96ffec893cd2b1df734fd61e79feae5e2976 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Fri, 24 Feb 2012 10:08:04 +0100 Subject: oox: guard dbgutil-only methods with ifdef --- oox/inc/oox/helper/propertymap.hxx | 2 ++ oox/source/helper/propertymap.cxx | 2 ++ 2 files changed, 4 insertions(+) (limited to 'oox') diff --git a/oox/inc/oox/helper/propertymap.hxx b/oox/inc/oox/helper/propertymap.hxx index eda19e45dfa7..2696d4980ea1 100644 --- a/oox/inc/oox/helper/propertymap.hxx +++ b/oox/inc/oox/helper/propertymap.hxx @@ -100,8 +100,10 @@ public: makePropertySet() const; #if OSL_DEBUG_LEVEL > 0 +#ifdef DBG_UTIL static void dump( ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > rXPropSet); void dump(); +#endif static void dumpCode( ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > rXPropSet); void dumpCode(); #endif diff --git a/oox/source/helper/propertymap.cxx b/oox/source/helper/propertymap.cxx index 8923d9ca19fb..dcc3a8310414 100644 --- a/oox/source/helper/propertymap.cxx +++ b/oox/source/helper/propertymap.cxx @@ -431,6 +431,7 @@ static void lclDumpAnyValue( Any value) fprintf (stderr,"??? \n", USS(value.getValueTypeName())); } +#ifdef DBG_UTIL void PropertyMap::dump( Reference< XPropertySet > rXPropSet ) { Reference< XPropertySetInfo > info = rXPropSet->getPropertySetInfo (); @@ -454,6 +455,7 @@ void PropertyMap::dump() { dump( Reference< XPropertySet >( makePropertySet(), UNO_QUERY ) ); } +#endif static void printLevel (int level) { -- cgit