summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorRyan McCoskrie <ryan.mccoskrie@gmail.com>2016-04-18 12:38:47 +1200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-18 07:19:09 +0000
commite781dfe877ac12c214e306a89f0702c117c89197 (patch)
treea8ba630183995701c81833cfd69b512c434f15d0 /xmloff
parenta6af1b545a6435ec3fdbc88e39bf765839f8614b (diff)
Remove needless typedef from xmloff/source/style/impastpl.hxx
Change-Id: I573f7933c6353ae92774517a522fc63f871a09fb Reviewed-on: https://gerrit.libreoffice.org/24178 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/impastpl.cxx2
-rw-r--r--xmloff/source/style/impastpl.hxx3
2 files changed, 2 insertions, 3 deletions
diff --git a/xmloff/source/style/impastpl.cxx b/xmloff/source/style/impastpl.cxx
index 51a59e9b57d0..2d4959ee1d9d 100644
--- a/xmloff/source/style/impastpl.cxx
+++ b/xmloff/source/style/impastpl.cxx
@@ -474,7 +474,7 @@ void SvXMLAutoStylePoolP_Impl::GetRegisteredNames(
XMLAutoStyleFamily &rFamily = *aJ;
// iterate over names
- for (XMLAutoStyleFamily::NameSetType::const_iterator aI = rFamily.maNameSet.begin(); aI != rFamily.maNameSet.end(); ++aI)
+ for (std::set<OUString>::const_iterator aI = rFamily.maNameSet.begin(); aI != rFamily.maNameSet.end(); ++aI)
{
aFamilies.push_back( rFamily.mnFamily );
aNames.push_back( *aI );
diff --git a/xmloff/source/style/impastpl.hxx b/xmloff/source/style/impastpl.hxx
index dc3b97d01dd8..5e6563256f09 100644
--- a/xmloff/source/style/impastpl.hxx
+++ b/xmloff/source/style/impastpl.hxx
@@ -104,14 +104,13 @@ struct XMLAutoStyleFamily
{
typedef std::set<std::unique_ptr<XMLAutoStylePoolParent>,
comphelper::UniquePtrValueLess<XMLAutoStylePoolParent>> ParentSetType;
- typedef std::set<OUString> NameSetType;
sal_uInt32 mnFamily;
OUString maStrFamilyName;
rtl::Reference<SvXMLExportPropertyMapper> mxMapper;
ParentSetType m_ParentSet;
- NameSetType maNameSet;
+ std::set<OUString> maNameSet;
sal_uInt32 mnCount;
sal_uInt32 mnName;
OUString maStrPrefix;