Kaydet (Commit) 423020de authored tarafından Miklos Vajna's avatar Miklos Vajna

writerfilter: unused OOXMLFactory_*::getName()

Change-Id: I9cf482b10b719d40ab553616099d04c7b1572986
üst 28a31569
......@@ -279,13 +279,6 @@ void OOXMLFactory_ns::attributeAction(OOXMLFastContextHandler *, Token_t, OOXMLV
{
}
#ifdef DEBUG_DOMAINMAPPER
string OOXMLFactory_ns::getName() const
{
return "noname";
}
#endif
}
}
......
......@@ -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);
......
......@@ -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:
......
......@@ -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
}}""")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment