summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-05-21 13:43:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-05-24 10:19:49 +0200
commit552b1fc70fc2fca2ba3d33929f20c3172e9e8bb4 (patch)
treee43efc255428dd52d1f174d1b4c9bd0e1d17de38 /writerfilter
parent9a453051639be4bee9339bface0bb4678eb58bf4 (diff)
inline some use-once typedefs
Change-Id: Idddba2f3fd05265b08dbc88edb6152d34a166052 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94730 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/dmapper/StyleSheetTable.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/writerfilter/source/dmapper/StyleSheetTable.cxx b/writerfilter/source/dmapper/StyleSheetTable.cxx
index e33a86a9a4a0..d03be9cba324 100644
--- a/writerfilter/source/dmapper/StyleSheetTable.cxx
+++ b/writerfilter/source/dmapper/StyleSheetTable.cxx
@@ -52,9 +52,6 @@ using namespace ::com::sun::star;
namespace writerfilter::dmapper
{
-typedef ::std::map< OUString, OUString> StringPairMap_t;
-
-
StyleSheetEntry::StyleSheetEntry() :
sStyleIdentifierD()
,bIsDefaultStyle(false)
@@ -1348,7 +1345,7 @@ OUString StyleSheetTable::ConvertStyleName( const OUString& rWWName, bool bExten
}
// create a map only once
- static const StringPairMap_t StyleNameMap{
+ static const std::map< OUString, OUString> StyleNameMap {
{ "Normal", "Standard" },
{ "heading 1", "Heading 1" },
{ "heading 2", "Heading 2" },