diff options
author | krishna keshav <princy.krishnakeshav@gmail.com> | 2016-06-02 21:40:05 +0530 |
---|---|---|
committer | Akshay Deep <akshaydeepiitr@gmail.com> | 2016-06-03 15:21:10 +0000 |
commit | faaacb997b3c404048bd986caf9e4b5f5263cb3c (patch) | |
tree | 4702e53750f65aa801e658ceb6f03acc1b46075b /xmloff/source | |
parent | 74f6f03f55eb6d641d2b26aae883943c69683563 (diff) |
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>
Diffstat (limited to 'xmloff/source')
-rw-r--r-- | xmloff/source/text/txtimp.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx index 08dafafdcbfe..5d6abd997ebf 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; |