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 | |
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')
-rw-r--r-- | unoxml/source/dom/elementlist.hxx | 4 | ||||
-rw-r--r-- | unoxml/source/dom/saxbuilder.hxx | 6 |
2 files changed, 3 insertions, 7 deletions
diff --git a/unoxml/source/dom/elementlist.hxx b/unoxml/source/dom/elementlist.hxx index 3f44d05a0253..28a4cb61670e 100644 --- a/unoxml/source/dom/elementlist.hxx +++ b/unoxml/source/dom/elementlist.hxx @@ -42,8 +42,6 @@ namespace DOM { class CElement; - typedef std::vector< xmlNodePtr > nodevector_t; - class CElementListImpl : public cppu::WeakImplHelper< css::xml::dom::XNodeList, css::xml::dom::events::XEventListener > @@ -59,7 +57,7 @@ namespace DOM ::std::unique_ptr<xmlChar[]> const m_pName; ::std::unique_ptr<xmlChar[]> const m_pURI; bool m_bRebuild; - nodevector_t m_nodevector; + std::vector< xmlNodePtr > m_nodevector; void buildlist(xmlNodePtr pNode, bool start=true); 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; |