diff options
Diffstat (limited to 'l10ntools/inc')
-rw-r--r-- | l10ntools/inc/xmlparse.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/l10ntools/inc/xmlparse.hxx b/l10ntools/inc/xmlparse.hxx index 8f485e9707eb..b3a8fbe36455 100644 --- a/l10ntools/inc/xmlparse.hxx +++ b/l10ntools/inc/xmlparse.hxx @@ -140,9 +140,6 @@ typedef std::unordered_map<OString, XMLElement*> LangHashMap; /// Mapping XML Element string identifier <-> Language Map typedef std::unordered_map<OString, LangHashMap*> XMLHashMap; -/// Mapping XML tag names <-> have localizable strings -typedef std::unordered_map<OString, sal_Bool> TagMap; - /** Holds information of a XML file, is root node of tree */ class XMLFile final : public XMLParentNode @@ -180,7 +177,9 @@ private: // DATA OString m_sFileName; - TagMap m_aNodes_localize; + /// Mapping XML tag names <-> have localizable strings + std::unordered_map<OString, sal_Bool> m_aNodes_localize; + std::unique_ptr<XMLHashMap> m_pXMLStrings; std::vector <OString> m_vOrder; |