From dd6db74abddfe27671c2593eefefa871466b02f5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 17 Aug 2020 09:26:16 +0200 Subject: inline some use-once typedefs Change-Id: I683175c1e788a2a4cfec9504dc8dc3ebfee7c5de Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100858 Tested-by: Jenkins Reviewed-by: Noel Grandin --- linguistic/source/convdic.hxx | 3 --- linguistic/source/convdicxml.cxx | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'linguistic') diff --git a/linguistic/source/convdic.hxx b/linguistic/source/convdic.hxx index 23d51f87f440..d15fe83a085c 100644 --- a/linguistic/source/convdic.hxx +++ b/linguistic/source/convdic.hxx @@ -41,9 +41,6 @@ bool IsConvDic( const OUString &rFileURL, LanguageType &nLang, sal_Int16 &nConvType ); typedef std::unordered_multimap ConvMap; - -typedef std::set ConvMapKeySet; - typedef std::unordered_multimap PropTypeMap; class ConvDic : diff --git a/linguistic/source/convdicxml.cxx b/linguistic/source/convdicxml.cxx index 3cd2f950ff85..f7503732465f 100644 --- a/linguistic/source/convdicxml.cxx +++ b/linguistic/source/convdicxml.cxx @@ -294,7 +294,7 @@ ErrCode ConvDicXMLExport::exportDoc( enum ::xmloff::token::XMLTokenEnum /*eClass void ConvDicXMLExport::ExportContent_() { // acquire sorted list of all keys - ConvMapKeySet aKeySet; + std::set aKeySet; for (auto const& elem : rDic.aFromLeft) aKeySet.insert( elem.first ); -- cgit