diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-18 14:24:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-19 11:57:57 +0100 |
commit | a5be07d6b627a18f104e2feed063ff9020e8c610 (patch) | |
tree | 389ea7a3c163bcafca743373b94cda4fba937552 /unoxml/source/dom/saxbuilder.hxx | |
parent | b0cecbfb03dba67f01d1411a1e8b7402c2ca90ce (diff) |
inline use-once typedefs
Change-Id: I5c3ffc03c26b3428f1f336e6ecba7838a1cf1157
Reviewed-on: https://gerrit.libreoffice.org/46764
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unoxml/source/dom/saxbuilder.hxx')
-rw-r--r-- | unoxml/source/dom/saxbuilder.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/unoxml/source/dom/saxbuilder.hxx b/unoxml/source/dom/saxbuilder.hxx index 0caf53ea4faf..dd2331426c63 100644 --- a/unoxml/source/dom/saxbuilder.hxx +++ b/unoxml/source/dom/saxbuilder.hxx @@ -44,10 +44,8 @@ namespace DOM { - typedef std::stack< css::uno::Reference< css::xml::dom::XNode > > NodeStack; typedef std::map< OUString, OUString > NSMap; typedef std::map< OUString, OUString > AttrMap; - typedef std::stack< NSMap > NSStack; class CSAXDocumentBuilder : public ::cppu::WeakImplHelper< css::xml::dom::XSAXDocumentBuilder2, css::lang::XServiceInfo > @@ -58,8 +56,8 @@ namespace DOM const css::uno::Reference< css::lang::XMultiServiceFactory > m_aServiceManager; css::xml::dom::SAXDocumentBuilderState m_aState; - NodeStack m_aNodeStack; - NSStack m_aNSStack; + std::stack< css::uno::Reference< css::xml::dom::XNode > > m_aNodeStack; + std::stack< NSMap > m_aNSStack; css::uno::Reference< css::xml::dom::XDocument > m_aDocument; css::uno::Reference< css::xml::dom::XDocumentFragment > m_aFragment; |