[Libreoffice-commits] core.git: xmloff/source
krishna keshav
princy.krishnakeshav at gmail.com
Fri Jun 3 15:21:42 UTC 2016
xmloff/source/text/txtimp.cxx | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
New commits:
commit faaacb997b3c404048bd986caf9e4b5f5263cb3c
Author: krishna keshav <princy.krishnakeshav at gmail.com>
Date: Thu Jun 2 21:40:05 2016 +0530
tdf#96099 Reduce number of typedefs used for trivial container types
Change-Id: I1ec93e281d7c2648a150c98144905f1158502dcc
Reviewed-on: https://gerrit.libreoffice.org/25835
Reviewed-by: Akshay Deep <akshaydeepiitr at gmail.com>
Tested-by: Akshay Deep <akshaydeepiitr at gmail.com>
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx
index 08dafaf..5d6abd9 100644
--- a/xmloff/source/text/txtimp.cxx
+++ b/xmloff/source/text/txtimp.cxx
@@ -532,8 +532,7 @@ struct XMLTextImportHelper::Impl
/// start ranges for open bookmarks
std::map< OUString, BookmarkMapEntry_t > m_BookmarkStartRanges;
- typedef std::vector< OUString > BookmarkVector_t;
- BookmarkVector_t m_BookmarkVector;
+ std::vector< OUString > m_BookmarkVector;
/// name of the last 'open' redline that started between paragraphs
OUString m_sOpenRedlineIdentifier;
@@ -2516,7 +2515,7 @@ bool XMLTextImportHelper::FindAndRemoveBookmarkStartRange(
o_rXmlId = std::get<1>(rEntry);
o_rpRDFaAttributes = std::get<2>(rEntry);
m_xImpl->m_BookmarkStartRanges.erase(sName);
- Impl::BookmarkVector_t::iterator it(m_xImpl->m_BookmarkVector.begin());
+ auto it(m_xImpl->m_BookmarkVector.begin());
while (it != m_xImpl->m_BookmarkVector.end() && it->compareTo(sName)!=0)
{
++it;
More information about the Libreoffice-commits
mailing list