summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-08-17 09:26:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-08-17 14:11:12 +0200
commitdd6db74abddfe27671c2593eefefa871466b02f5 (patch)
tree8d7c9f5d34d1faefec4ff550add51a263b1c4fd6 /linguistic
parent28beaffba6a0ecaf351c84bed41443a6721d85b6 (diff)
inline some use-once typedefs
Change-Id: I683175c1e788a2a4cfec9504dc8dc3ebfee7c5de Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100858 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/convdic.hxx3
-rw-r--r--linguistic/source/convdicxml.cxx2
2 files changed, 1 insertions, 4 deletions
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<OUString, OUString> ConvMap;
-
-typedef std::set<OUString> ConvMapKeySet;
-
typedef std::unordered_multimap<OUString, sal_Int16> 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<OUString> aKeySet;
for (auto const& elem : rDic.aFromLeft)
aKeySet.insert( elem.first );