summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-02-02 15:04:36 +0100
committerMichael Stahl <mstahl@redhat.com>2017-02-02 15:08:01 +0100
commit19c0eff34a5e1de4f3aff723b7750d4e01d4ba6d (patch)
tree2066283cca0866660f28072ca6f91855af01c590 /writerfilter
parent27a905914672897aa012cd47e00c42f3129bd99b (diff)
writerfilter: remove gperf related declarations
Reportedly gperf 3.1 changes the signature of in_word_set(), where the len parameter changes from unsigned int to size_t. It turns out the only forward declaration for this function is currently unused, so just remove it. Change-Id: Ifbc582cd31ca37fff9ff95a3706ee902ecfe5223
Diffstat (limited to 'writerfilter')
-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)
{