summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2012-02-24 10:08:04 +0100
committerMiklos Vajna <vmiklos@suse.cz>2012-02-24 10:08:04 +0100
commit15af96ffec893cd2b1df734fd61e79feae5e2976 (patch)
treea213c5ff1245770ae2b3409a187a7ec8831e15fe
parent9133fd623f2271da92a8a9f905f4c9c61a3de956 (diff)
oox: guard dbgutil-only methods with ifdef
-rw-r--r--oox/inc/oox/helper/propertymap.hxx2
-rw-r--r--oox/source/helper/propertymap.cxx2
2 files changed, 4 insertions, 0 deletions
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,"??? <unhandled type %s>\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)
{