diff options
author | Jan Holesovsky <kendy@collabora.com> | 2015-11-12 09:51:46 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-11-12 09:54:46 +0100 |
commit | f92c53f96dda175c971278a141a72dfd0e978466 (patch) | |
tree | 0744194393626b06b51d904ae09d7d01321ed9e1 /sw/inc/doc.hxx | |
parent | eb95283d98fffb031070338ca0d9a966fcf98c07 (diff) |
bin/rename-sw-abbreviations.sh run to fix few re-introduced abbrvtns.
Change-Id: I11d282c3be86feb57f5279220d84d8a121df0dbd
Diffstat (limited to 'sw/inc/doc.hxx')
-rw-r--r-- | sw/inc/doc.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index b13679c5b73e..52eae86fc758 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -1641,17 +1641,17 @@ public: void dumpAsXml(struct _xmlTextWriter* = nullptr) const; std::set<Color> GetDocColors(); - std::vector< std::weak_ptr<SwUnoCrsr> > mvUnoCrsrTbl; + std::vector< std::weak_ptr<SwUnoCrsr> > mvUnoCrsrTable; // Remove expired UnoCrsr weak pointers the document keeps to notify about document death. - void cleanupUnoCrsrTbl() + void cleanupUnoCrsrTable() { // In most cases we'll remove most of the elements. - std::vector< std::weak_ptr<SwUnoCrsr> > unoCrsrTbl; - std::copy_if(mvUnoCrsrTbl.begin(), mvUnoCrsrTbl.end(), - std::back_inserter(unoCrsrTbl), + std::vector< std::weak_ptr<SwUnoCrsr> > unoCrsrTable; + std::copy_if(mvUnoCrsrTable.begin(), mvUnoCrsrTable.end(), + std::back_inserter(unoCrsrTable), [](const std::weak_ptr<SwUnoCrsr>& pWeakPtr) { return !pWeakPtr.expired(); }); - std::swap(mvUnoCrsrTbl, unoCrsrTbl); + std::swap(mvUnoCrsrTable, unoCrsrTable); } private: |