summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/TblStylePrHandler.cxx
diff options
context:
space:
mode:
authorHenning Brinkmann <hbrinkm@openoffice.org>2011-02-08 15:17:09 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-06-17 15:42:07 +0200
commitb174e5aed96d1fd685625a89a25354763e7d802b (patch)
treedef528426eb4959a2e1eb520f0ffec325cb86cd0 /writerfilter/source/dmapper/TblStylePrHandler.cxx
parentfaccbe64c45c509b75bf6ea72c2b741a95b12846 (diff)
imported patch debugcleanup [hg:b63fc5ed86aa]
Diffstat (limited to 'writerfilter/source/dmapper/TblStylePrHandler.cxx')
-rw-r--r--writerfilter/source/dmapper/TblStylePrHandler.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/writerfilter/source/dmapper/TblStylePrHandler.cxx b/writerfilter/source/dmapper/TblStylePrHandler.cxx
index 02d134786357..f555aa071250 100644
--- a/writerfilter/source/dmapper/TblStylePrHandler.cxx
+++ b/writerfilter/source/dmapper/TblStylePrHandler.cxx
@@ -2,7 +2,9 @@
#include <PropertyMap.hxx>
#include <ooxml/resourceids.hxx>
#include <dmapperLoggers.hxx>
+#ifdef DEBUG_DMAPPER_TBL_STYLE_HANDLER
#include <resourcemodel/QNameToString.hxx>
+#endif
#include "dmapperLoggers.hxx"
@@ -25,7 +27,7 @@ TblStylePrHandler::~TblStylePrHandler( )
void TblStylePrHandler::lcl_attribute(Id rName, Value & rVal)
{
-#ifdef DEBUG_DOMAINMAPPER
+#ifdef DEBUG_DMAPPER_TBL_STYLE_HANDLER
dmapper_logger->startElement("TblStylePrHandler.attribute");
dmapper_logger->attribute("name", (*QNameToString::Instance())(rName));
dmapper_logger->chars(rVal.toString());
@@ -46,7 +48,7 @@ void TblStylePrHandler::lcl_attribute(Id rName, Value & rVal)
void TblStylePrHandler::lcl_sprm(Sprm & rSprm)
{
-#ifdef DEBUG_DOMAINMAPPER
+#ifdef DEBUG_DMAPPER_TBL_STYLE_HANDLER
dmapper_logger->startElement("TblStylePrHandler.sprm");
dmapper_logger->attribute("sprm", rSprm.toString());
#endif
@@ -75,7 +77,7 @@ void TblStylePrHandler::lcl_sprm(Sprm & rSprm)
}
}
-#ifdef DEBUG_DOMAINMAPPER
+#ifdef DEBUG_DMAPPER_TBL_STYLE_HANDLER
dmapper_logger->endElement("TblStylePrHandler.sprm");
#endif
}