From 601e9d4badd84c3c4824090f1bc39bef3b64cbd1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 13 May 2021 14:01:28 +0200 Subject: inline some typedefs Change-Id: I1608e03ff9f6fbc55987010e88897e034b690b3a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115552 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/source/style/xmlimppr.cxx | 3 +-- xmloff/source/table/XMLTableImport.cxx | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'xmloff') diff --git a/xmloff/source/style/xmlimppr.cxx b/xmloff/source/style/xmlimppr.cxx index 0b327c73e6cc..f90aa7a75b9b 100644 --- a/xmloff/source/style/xmlimppr.cxx +++ b/xmloff/source/style/xmlimppr.cxx @@ -574,7 +574,6 @@ bool SvXMLImportPropertyMapper::FillPropertySet_( typedef pair PropertyPair; -typedef vector PropertyPairs; namespace { @@ -599,7 +598,7 @@ void SvXMLImportPropertyMapper::PrepareForMultiPropertySet_( sal_Int32 nCount = rProperties.size(); // property pairs structure stores names + values of properties to be set. - PropertyPairs aPropertyPairs; + vector aPropertyPairs; aPropertyPairs.reserve( nCount ); // iterate over property states that we want to set diff --git a/xmloff/source/table/XMLTableImport.cxx b/xmloff/source/table/XMLTableImport.cxx index 99ed49941ff0..47923d66c28d 100644 --- a/xmloff/source/table/XMLTableImport.cxx +++ b/xmloff/source/table/XMLTableImport.cxx @@ -92,8 +92,6 @@ struct MergeInfo } -typedef std::vector< std::shared_ptr< MergeInfo > > MergeInfoVector; - class XMLTableImportContext : public SvXMLImportContext { public: @@ -124,7 +122,7 @@ public: // default cell style name for the current row OUString msDefaultCellStyleName; - MergeInfoVector maMergeInfos; + std::vector< std::shared_ptr< MergeInfo > > maMergeInfos; }; namespace { -- cgit