diff options
author | Henning Brinkmann[hbrinkm] <hbrinkm@openoffice.org> | 2010-01-05 17:10:12 +0100 |
---|---|---|
committer | Henning Brinkmann[hbrinkm] <hbrinkm@openoffice.org> | 2010-01-05 17:10:12 +0100 |
commit | c801c731905869adc4f05f9b91ba7be649bd1ba4 (patch) | |
tree | d8a5bfc206f3f687ae85c2884f3226e2efd0e6b0 /writerfilter/source/dmapper/BorderHandler.cxx | |
parent | writerfilter07: OOXMLFastContextHandler: use sprm identifiers from doctok/spr... (diff) | |
download | core-c801c731905869adc4f05f9b91ba7be649bd1ba4.tar.gz core-c801c731905869adc4f05f9b91ba7be649bd1ba4.zip |
writerfilter07: logging for debug
Diffstat (limited to 'writerfilter/source/dmapper/BorderHandler.cxx')
-rw-r--r-- | writerfilter/source/dmapper/BorderHandler.cxx | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/writerfilter/source/dmapper/BorderHandler.cxx b/writerfilter/source/dmapper/BorderHandler.cxx index f8b5a7599b0b..d34eac9e9edc 100644 --- a/writerfilter/source/dmapper/BorderHandler.cxx +++ b/writerfilter/source/dmapper/BorderHandler.cxx @@ -54,18 +54,12 @@ BorderHandler::BorderHandler( bool bOOXML ) : m_nLineDistance(0), m_bOOXML( bOOXML ) { -#ifdef DEBUG_DOMAINMAPPER - dmapper_logger->startElement("borderHandler"); -#endif } /*-- 24.04.2007 09:06:35--------------------------------------------------- -----------------------------------------------------------------------*/ BorderHandler::~BorderHandler() { -#ifdef DEBUG_DOMAINMAPPER - dmapper_logger->endElement("borderHandler"); -#endif } /*-- 24.04.2007 09:06:35--------------------------------------------------- @@ -73,9 +67,9 @@ BorderHandler::~BorderHandler() void BorderHandler::attribute(Id rName, Value & rVal) { #ifdef DEBUG_DOMAINMAPPER - dmapper_logger->startElement("attribute"); + dmapper_logger->startElement("BorderHandler.attribute"); dmapper_logger->attribute("id", (*QNameToString::Instance())(rName)); - dmapper_logger->endElement("attribute"); + dmapper_logger->endElement("BorderHandler.attribute"); #endif sal_Int32 nIntValue = rVal.getInt(); @@ -132,9 +126,8 @@ void BorderHandler::attribute(Id rName, Value & rVal) void BorderHandler::sprm(Sprm & rSprm) { #ifdef DEBUG_DOMAINMAPPER - dmapper_logger->startElement("sprm"); - dmapper_logger->attribute("id", (*QNameToString::Instance())(rSprm.getId())); - dmapper_logger->endElement("sprm"); + dmapper_logger->startElement("BorderHandler.sprm"); + dmapper_logger->attribute("sprm", rSprm.toString()); #endif /* WRITERFILTERSTATUS: table: BorderHandler_sprm */ @@ -164,6 +157,11 @@ void BorderHandler::sprm(Sprm & rSprm) break; default:; } + +#ifdef DEBUG_DOMAINMAPPER + dmapper_logger->endElement("BorderHandler.sprm"); +#endif + } /*-- 24.04.2007 09:09:01--------------------------------------------------- |