summaryrefslogtreecommitdiff
path: root/sax/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-18 10:12:08 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-11-18 10:38:08 +0000
commit53f16c39f5c4c69ab603bf9098daec71f7a0acb8 (patch)
tree00b3166ecff36bb55dcf0b8c2122a08b72656ab5 /sax/source
parent4c1f958634ae88614a794bf232c67e9e785bf703 (diff)
remove unused typedefs and inline use-once typedefs
and improve the script a little Change-Id: I2792ea4dd5df3a50736fbe209225c3f16fb86b84 Reviewed-on: https://gerrit.libreoffice.org/20033 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sax/source')
-rw-r--r--sax/source/fastparser/fastparser.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx
index 35596ac484c8..514c156d7ee5 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -67,8 +67,6 @@ class FastLocatorImpl;
struct NamespaceDefine;
struct Entity;
-typedef std::shared_ptr< NamespaceDefine > NamespaceDefineRef;
-
typedef std::unordered_map< OUString, sal_Int32,
OUStringHash, std::equal_to< OUString > > NamespaceMap;
@@ -181,7 +179,8 @@ struct Entity : public ParserData
std::stack< SaxContext> maContextStack;
// Determines which elements of maNamespaceDefines are valid in current context
std::stack< sal_uInt32 > maNamespaceCount;
- std::vector< NamespaceDefineRef > maNamespaceDefines;
+ std::vector< std::shared_ptr< NamespaceDefine > >
+ maNamespaceDefines;
explicit Entity( const ParserData& rData );
Entity( const Entity& rEntity );