summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorRadek Doulik <rodo@novell.com>2011-04-14 13:51:24 +0200
committerRadek Doulik <rodo@novell.com>2011-04-14 15:21:01 +0200
commitdd0002f4b36d45f20e4211d9648ca00ffaa812d5 (patch)
tree5364f0f8350cc2d044619db4554cc1c8fd1dd6b0 /oox
parent226ff96a88876d34f7fa30148150b6aa5a7f5a7c (diff)
dump property map of customshape preset only when building with debug
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/customshapeproperties.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/oox/source/drawingml/customshapeproperties.cxx b/oox/source/drawingml/customshapeproperties.cxx
index a60c152de80a..fed268537c07 100644
--- a/oox/source/drawingml/customshapeproperties.cxx
+++ b/oox/source/drawingml/customshapeproperties.cxx
@@ -389,8 +389,10 @@ void CustomShapeProperties::pushToPropSet( const ::oox::core::FilterBase& /* rFi
aPropSet.setProperty( PROP_CustomShapeGeometry, aSeq );
OSL_TRACE("created ooxml preset");
+#ifdef DEBUG
aPropertyMap.dump();
aPropertyMap.dumpCode();
+#endif
} else {
//const uno::Reference < drawing::XShape > xShape( xPropSet, UNO_QUERY );
Reference< drawing::XEnhancedCustomShapeDefaulter > xDefaulter( xShape, UNO_QUERY );