summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-07-29 19:02:28 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-07-29 19:13:30 +0200
commit423020de5d2533533aa0d19249079e1dcee632d2 (patch)
tree9c61df7fbaf4fa08ca9f68a6fb5423e4c286f208
parent28a315694348c4d1a4fd9aea7e720b3e821e8eb3 (diff)
writerfilter: unused OOXMLFactory_*::getName()
Change-Id: I9cf482b10b719d40ab553616099d04c7b1572986
-rw-r--r--writerfilter/source/ooxml/OOXMLFactory.cxx7
-rw-r--r--writerfilter/source/ooxml/OOXMLFactory.hxx1
-rw-r--r--writerfilter/source/ooxml/factory_ns.py5
-rw-r--r--writerfilter/source/ooxml/factoryimpl_ns.py14
4 files changed, 0 insertions, 27 deletions
diff --git a/writerfilter/source/ooxml/OOXMLFactory.cxx b/writerfilter/source/ooxml/OOXMLFactory.cxx
index 2e739300b538..afdadf194b44 100644
--- a/writerfilter/source/ooxml/OOXMLFactory.cxx
+++ b/writerfilter/source/ooxml/OOXMLFactory.cxx
@@ -279,13 +279,6 @@ void OOXMLFactory_ns::attributeAction(OOXMLFastContextHandler *, Token_t, OOXMLV
{
}
-#ifdef DEBUG_DOMAINMAPPER
-string OOXMLFactory_ns::getName() const
-{
- return "noname";
-}
-#endif
-
}
}
diff --git a/writerfilter/source/ooxml/OOXMLFactory.hxx b/writerfilter/source/ooxml/OOXMLFactory.hxx
index 0150acb60d0d..76676ac40165 100644
--- a/writerfilter/source/ooxml/OOXMLFactory.hxx
+++ b/writerfilter/source/ooxml/OOXMLFactory.hxx
@@ -103,7 +103,6 @@ public:
virtual void attributeAction(OOXMLFastContextHandler * pHandler, Token_t nToken, OOXMLValue::Pointer_t pValue);
#ifdef DEBUG_DOMAINMAPPER
virtual string getDefineName(Id nId) const;
- virtual string getName() const;
#endif
AttributeToResourceMapPointer getAttributeToResourceMap(Id nId);
diff --git a/writerfilter/source/ooxml/factory_ns.py b/writerfilter/source/ooxml/factory_ns.py
index edd0718919b3..991d23acb6cb 100644
--- a/writerfilter/source/ooxml/factory_ns.py
+++ b/writerfilter/source/ooxml/factory_ns.py
@@ -56,11 +56,6 @@ public:
print("""virtual void charactersAction(OOXMLFastContextHandler* pHandler, const OUString & sText);
virtual void attributeAction(OOXMLFastContextHandler* pHandler, Token_t nToken, OOXMLValue::Pointer_t pValue);
-#ifdef DEBUG_DOMAINMAPPER
- virtual string getName() const;
-#endif
-
-
virtual ~OOXMLFactory_%s();
protected:
diff --git a/writerfilter/source/ooxml/factoryimpl_ns.py b/writerfilter/source/ooxml/factoryimpl_ns.py
index 38ffa5179ebf..fc28dc29f9c2 100644
--- a/writerfilter/source/ooxml/factoryimpl_ns.py
+++ b/writerfilter/source/ooxml/factoryimpl_ns.py
@@ -636,19 +636,6 @@ def factoryAttributeAction(nsNode):
print()
-# factoryGetName
-
-
-def factoryGetName(nsNode):
- print("""#ifdef DEBUG_DOMAINMAPPER
-string OOXMLFactory_%s::getName() const
-{
- return "%s";
-}
-#endif
-""" % (nsToLabel(nsNode), nsNode.getAttribute("name")))
-
-
# createImpl
@@ -692,7 +679,6 @@ namespace ooxml {
factoryGetDefineName(nsNode)
factoryTokenToIdMap(nsNode)
factoryAttributeAction(nsNode)
- factoryGetName(nsNode)
print("""/// @endcond
}}""")