summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-05-13 14:01:28 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-05-13 17:03:26 +0200
commit601e9d4badd84c3c4824090f1bc39bef3b64cbd1 (patch)
tree90267c806f8967606a0c9769b117f6b881a8c515 /xmloff
parent17d4221c047eac47e26465ddc72d13fb89284f57 (diff)
inline some typedefs
Change-Id: I1608e03ff9f6fbc55987010e88897e034b690b3a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115552 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/xmlimppr.cxx3
-rw-r--r--xmloff/source/table/XMLTableImport.cxx4
2 files changed, 2 insertions, 5 deletions
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<const OUString*, const Any* > PropertyPair;
-typedef vector<PropertyPair> 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<PropertyPair> 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 {