diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-02-24 10:08:04 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-02-24 10:08:04 +0100 |
commit | 15af96ffec893cd2b1df734fd61e79feae5e2976 (patch) | |
tree | a213c5ff1245770ae2b3409a187a7ec8831e15fe /oox | |
parent | Rewrite fix to use the same SimpleResMgr ctor as it did before (diff) | |
download | core-15af96ffec893cd2b1df734fd61e79feae5e2976.tar.gz core-15af96ffec893cd2b1df734fd61e79feae5e2976.zip |
oox: guard dbgutil-only methods with ifdef
Diffstat (limited to 'oox')
-rw-r--r-- | oox/inc/oox/helper/propertymap.hxx | 2 | ||||
-rw-r--r-- | oox/source/helper/propertymap.cxx | 2 |
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) { |