[Libreoffice-commits] core.git: writerfilter/source

Miklos Vajna vmiklos at collabora.co.uk
Sat Oct 25 06:03:21 PDT 2014


 writerfilter/source/ooxml/OOXMLFastContextHandler.cxx |   21 ------------------
 1 file changed, 21 deletions(-)

New commits:
commit 3e2dfde73b46526b901c0c38b1e9b2a4872761ac
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Sat Oct 25 14:25:46 2014 +0200

    loplugin:unreffun
    
    Change-Id: I7b707ddd526c927ed99e93797d1bd320860d5397

diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
index ba60f70..0b49065 100644
--- a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
+++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
@@ -59,27 +59,6 @@ using namespace ::std;
 
 set<OOXMLFastContextHandler *> aSetContexts;
 
-#ifdef DEBUG_WRITERFILTER
-class OOXMLIdToString : public IdToString
-{
-public:
-    OOXMLIdToString() : IdToString() {}
-    virtual ~OOXMLIdToString() {}
-
-    virtual string toString(const Id & rId) const SAL_OVERRIDE
-    {
-        string s((*QNameToString::Instance())(rId));
-
-        if (s.empty())
-            s = "(fasttoken)" + fastTokenToId(rId);
-        else
-            s = "(qname)" + s;
-
-        return s;
-    }
-};
-#endif
-
 /*
   class OOXMLFastContextHandler
  */


More information about the Libreoffice-commits mailing list