diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-11-01 13:38:47 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-11-01 13:38:47 +0100 |
commit | c88c53c4b17a67fe700874a87c87d7f69603e156 (patch) | |
tree | b6d0d076aa76870d784c40e8b685255b2333fb80 /oox/source/token | |
parent | 76d2d78ac48c0ec7fcdc27c841d0777cab732464 (diff) |
oox: introduce W_TOKEN() macro
It was inconsistent that when parsing <a:foo> elements, A_TOKEN(foo) was
available, but for <w:foo> elements there was no W_TOKEN() macro.
Also, there were two manual variants (NMSP_doc|XML_foo or via
OOX_TOKEN(doc, foo)), replace both of them with W_TOKEN() for easier
searching.
Change-Id: Ic5cd027f07518535b92671ffe3c486016a3f9f0a
Diffstat (limited to 'oox/source/token')
-rw-r--r-- | oox/source/token/namespaces.hxx.tail | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/oox/source/token/namespaces.hxx.tail b/oox/source/token/namespaces.hxx.tail index 43bb1ea0a6f2..378b0daf135a 100644 --- a/oox/source/token/namespaces.hxx.tail +++ b/oox/source/token/namespaces.hxx.tail @@ -54,6 +54,7 @@ inline sal_Int32 getNamespace( sal_Int32 nToken ) { return nToken & NMSP_MASK; } #define LC_TOKEN( token ) OOX_TOKEN( dmlLockedCanvas, token ) #define WPS_TOKEN( token ) OOX_TOKEN( wps, token ) #define WPG_TOKEN( token ) OOX_TOKEN( wpg, token ) +#define W_TOKEN( token ) OOX_TOKEN( doc, token ) |