summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--writerfilter/source/ooxml/factoryimpl.py12
1 files changed, 1 insertions, 11 deletions
diff --git a/writerfilter/source/ooxml/factoryimpl.py b/writerfilter/source/ooxml/factoryimpl.py
index 8584e196cb38..dbb391c60066 100644
--- a/writerfilter/source/ooxml/factoryimpl.py
+++ b/writerfilter/source/ooxml/factoryimpl.py
@@ -105,17 +105,7 @@ def createFastChildContextFromStart(model):
def fastTokenToId(model):
- print("""namespace tokenmap {
-struct token { const char* name; Token_t nToken; };
-class Perfect_Hash
-{
-private:
- static inline unsigned int hash (const char* str, unsigned int len);
-public:
- static struct token* in_word_set (const char* str, unsigned int len);
-};
-}
-
+ print("""
std::string fastTokenToId(sal_uInt32 nToken)
{