diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-02-28 10:39:56 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-03-01 16:23:09 +0100 |
commit | 6ba394e6119fee2c5424b6c3b5eb3f4276cc2769 (patch) | |
tree | 8ababa0c1054d4ec9ec504ef4ae9a40b5418bdbc /include | |
parent | a143beb3a02dc23f5a256e64fb996a1329ce07c0 (diff) |
handle OOXML strict namespaces
Change-Id: I198862388426161e3f054a5f128639c59f3c9d24
Diffstat (limited to 'include')
-rw-r--r-- | include/oox/token/namespacemap.hxx | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/oox/token/namespacemap.hxx b/include/oox/token/namespacemap.hxx index 2d2f2f31e4f7..cf1d0fdd7fe4 100644 --- a/include/oox/token/namespacemap.hxx +++ b/include/oox/token/namespacemap.hxx @@ -29,7 +29,16 @@ namespace oox { // ============================================================================ /** A map that contains all XML namespace URLs used in the filters. */ -struct NamespaceMap : public ::std::map< sal_Int32, OUString > { NamespaceMap(); }; +struct NamespaceMap +{ + std::map< sal_Int32, OUString > maTransitionalNamespaceMap; + std::map< sal_Int32, OUString > maStrictNamespaceMap; + + NamespaceMap(); + + typedef std::map< sal_Int32, OUString >::iterator iterator; + typedef std::map< sal_Int32, OUString >::const_iterator const_iterator; +}; /** Thread-save singleton of a map of all supported XML namespace URLs. */ struct StaticNamespaceMap : public ::rtl::Static< NamespaceMap, StaticNamespaceMap > {}; |