From c88c53c4b17a67fe700874a87c87d7f69603e156 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Sat, 1 Nov 2014 13:38:47 +0100 Subject: oox: introduce W_TOKEN() macro It was inconsistent that when parsing elements, A_TOKEN(foo) was available, but for 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 --- oox/source/token/namespaces.hxx.tail | 1 + 1 file changed, 1 insertion(+) (limited to 'oox/source/token') 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 ) -- cgit