summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--writerfilter/Library_writerfilter.mk1
-rw-r--r--writerfilter/source/ooxml/OOXMLFactory.cxx4
-rw-r--r--writerfilter/source/ooxml/factoryimpl.xsl4
3 files changed, 5 insertions, 4 deletions
diff --git a/writerfilter/Library_writerfilter.mk b/writerfilter/Library_writerfilter.mk
index 796c37a4e26e..63bd1a5f9bf9 100644
--- a/writerfilter/Library_writerfilter.mk
+++ b/writerfilter/Library_writerfilter.mk
@@ -47,6 +47,7 @@ $(eval $(call gb_Library_add_defs,writerfilter,\
-DDEBUG_DMAPPER_TABLE_HANDLER \
-DDEBUG_TABLE \
-DDEBUG_DMAPPER_SETTINGS_TABLE \
+ -DDEBUG_FACTORY \
) \
))
diff --git a/writerfilter/source/ooxml/OOXMLFactory.cxx b/writerfilter/source/ooxml/OOXMLFactory.cxx
index 20fc82c75b6f..5d683cb9f0a3 100644
--- a/writerfilter/source/ooxml/OOXMLFactory.cxx
+++ b/writerfilter/source/ooxml/OOXMLFactory.cxx
@@ -269,7 +269,7 @@ OOXMLFactory::createFastChildContext(OOXMLFastContextHandler * pHandler,
ret = createFastChildContextFromFactory(pHandler, pFactory, Element);
#ifdef DEBUG_FACTORY
- debug_logger->endElement("factory.createFastChildContext");
+ debug_logger->endElement();
#endif
return ret;
@@ -292,7 +292,7 @@ void OOXMLFactory::characters(OOXMLFastContextHandler * pHandler,
}
#ifdef DEBUG_FACTORY
- debug_logger->endElement("factory.characters");
+ debug_logger->endElement();
#endif
}
diff --git a/writerfilter/source/ooxml/factoryimpl.xsl b/writerfilter/source/ooxml/factoryimpl.xsl
index f9c486e6f853..c6a7b367702d 100644
--- a/writerfilter/source/ooxml/factoryimpl.xsl
+++ b/writerfilter/source/ooxml/factoryimpl.xsl
@@ -127,7 +127,7 @@ uno::Reference< xml::sax::XFastContextHandler > OOXMLFactory::createFastCh
}
#ifdef DEBUG_FACTORY
- debug_logger->endElement("factory.createFastChildContextFromFactory");
+ debug_logger->endElement();
#endif
return aResult;
@@ -189,7 +189,7 @@ uno::Reference< xml::sax::XFastContextHandler > OOXMLFactory::createFastCh
<xsl:text>
#ifdef DEBUG_FACTORY
- debug_logger->endElement("factory.createFastChildContextFromStart");
+ debug_logger->endElement();
#endif
return aResult;
}