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@gmail.com> Tested-by: Akshay Deep <akshaydeepiitr@gmail.com>
This commit is contained in:
parent
74f6f03f55
commit
faaacb997b
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue