diff options
author | Asela Dasanayaka <rukmal.tb@gmail.com> | 2016-10-13 14:42:16 +0530 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-13 10:15:52 +0000 |
commit | 4f0f1b6b5554f49dfe8cca1088d3e5b342b4fd2a (patch) | |
tree | 660a1dd2ea9d4b26a83fde63c71ec04f15e38b4b /idlc/inc | |
parent | c236c8e88a6d3e30cc4acc9108cbce018ca872cc (diff) |
tdf#96099 Reduce no of typedefs used for trivial containers
Removed various pinter typedefs in idlc module
Change-Id: Id850558a4550085d47a5e1122b1ce871f15956f2
Reviewed-on: https://gerrit.libreoffice.org/29754
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idlc/inc')
-rw-r--r-- | idlc/inc/idlc.hxx | 2 | ||||
-rw-r--r-- | idlc/inc/idlctypes.hxx | 3 | ||||
-rw-r--r-- | idlc/inc/options.hxx | 4 |
3 files changed, 3 insertions, 6 deletions
diff --git a/idlc/inc/idlc.hxx b/idlc/inc/idlc.hxx index 56fda18c9386..468bec2ba26f 100644 --- a/idlc/inc/idlc.hxx +++ b/idlc/inc/idlc.hxx @@ -132,7 +132,7 @@ private: sal_uInt32 m_offsetStart; sal_uInt32 m_offsetEnd; ParseState m_parseState; - StringSet m_includes; + std::set< OString > m_includes; }; diff --git a/idlc/inc/idlctypes.hxx b/idlc/inc/idlctypes.hxx index 12c665cc0ef9..931afbfb5c3d 100644 --- a/idlc/inc/idlctypes.hxx +++ b/idlc/inc/idlctypes.hxx @@ -30,9 +30,6 @@ #include <sal/types.h> #include <rtl/ustring.hxx> -typedef ::std::list< OString > StringList; -typedef ::std::vector< OString > StringVector; -typedef ::std::set< OString > StringSet; class AstDeclaration; diff --git a/idlc/inc/options.hxx b/idlc/inc/options.hxx index 3fbfc4586d1f..709cfc6b6614 100644 --- a/idlc/inc/options.hxx +++ b/idlc/inc/options.hxx @@ -64,14 +64,14 @@ public: const OString& getOption(const OString& option) throw( IllegalArgument ); - const StringVector& getInputFiles() const { return m_inputFiles; } + const std::vector< OString >& getInputFiles() const { return m_inputFiles; } bool readStdin() const { return m_stdin; } bool verbose() const { return m_verbose; } bool quiet() const { return m_quiet; } protected: OString m_program; - StringVector m_inputFiles; + std::vector< OString > m_inputFiles; bool m_stdin; bool m_verbose; bool m_quiet; |