summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-31 09:55:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-31 12:06:50 +0200
commitb02998a7cb86bb69c01fd7c2625c801eef835e55 (patch)
treeeaee008356bc6054b43844744e50d24756a53007 /unotools
parentc54850b23a8240a41755af171a6d3f990ee69f84 (diff)
inline some use-once typedefs
and remove some dead ones Change-Id: I6946d717d3c15dc5207489ed3d56d985dd953d59 Reviewed-on: https://gerrit.libreoffice.org/41746 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/pathoptions.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/unotools/source/config/pathoptions.cxx b/unotools/source/config/pathoptions.cxx
index c8925967c875..6bdc59f93c4d 100644
--- a/unotools/source/config/pathoptions.cxx
+++ b/unotools/source/config/pathoptions.cxx
@@ -72,8 +72,6 @@ using namespace com::sun::star::lang;
typedef std::unordered_map<OUString, sal_Int32, OUStringHash> NameToHandleMap;
-typedef std::unordered_map<sal_Int32, sal_Int32> EnumToHandleMap;
-
typedef std::set<OUString> VarNameSet;
// class SvtPathOptions_Impl ---------------------------------------------
@@ -85,7 +83,8 @@ class SvtPathOptions_Impl
Reference< XFastPropertySet > m_xPathSettings;
Reference< XStringSubstitution > m_xSubstVariables;
Reference< XMacroExpander > m_xMacroExpander;
- mutable EnumToHandleMap m_aMapEnumToPropHandle;
+ mutable std::unordered_map<sal_Int32, sal_Int32>
+ m_aMapEnumToPropHandle;
VarNameSet m_aSystemPathVarNames;
OUString m_aEmptyString;