[Libreoffice-commits] core.git: xmloff/source
Ryan McCoskrie
ryan.mccoskrie at gmail.com
Mon Apr 18 07:19:30 UTC 2016
xmloff/source/style/impastpl.cxx | 2 +-
xmloff/source/style/impastpl.hxx | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
New commits:
commit e781dfe877ac12c214e306a89f0702c117c89197
Author: Ryan McCoskrie <ryan.mccoskrie at gmail.com>
Date: Mon Apr 18 12:38:47 2016 +1200
Remove needless typedef from xmloff/source/style/impastpl.hxx
Change-Id: I573f7933c6353ae92774517a522fc63f871a09fb
Reviewed-on: https://gerrit.libreoffice.org/24178
Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
Tested-by: Noel Grandin <noelgrandin at gmail.com>
diff --git a/xmloff/source/style/impastpl.cxx b/xmloff/source/style/impastpl.cxx
index 51a59e9..2d4959e 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 dc3b97d..5e65632 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;
More information about the Libreoffice-commits
mailing list