summaryrefslogtreecommitdiff
path: root/sw/source/core/access/parachangetrackinginfo.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-07-20 17:16:03 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-26 23:35:27 +0200
commitddd84d08c9bb6e00fbd9a73bd52a28688a8c1ba7 (patch)
tree6d73836125485d4d5e52080453f3ed2eb3df9043 /sw/source/core/access/parachangetrackinginfo.cxx
parentf683b7fd81c058cda55fb690201f29448c44a83f (diff)
Convert SV_DECL_PTRARR_SORT_DEL(_SwRedlineTbl) to o3tl::sorted_vector
Change-Id: Ie7edc6b32b373619d4c0ac154da93650743049cf
Diffstat (limited to 'sw/source/core/access/parachangetrackinginfo.cxx')
-rw-r--r--sw/source/core/access/parachangetrackinginfo.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/access/parachangetrackinginfo.cxx b/sw/source/core/access/parachangetrackinginfo.cxx
index 817c40de85e9..a9c443ca979d 100644
--- a/sw/source/core/access/parachangetrackinginfo.cxx
+++ b/sw/source/core/access/parachangetrackinginfo.cxx
@@ -65,7 +65,7 @@ namespace {
}
if ( !IDocumentRedlineAccess::IsShowChanges( pIDocChangeTrack->GetRedlineMode() ) ||
- pIDocChangeTrack->GetRedlineTbl().Count() == 0 )
+ pIDocChangeTrack->GetRedlineTbl().empty() )
{
// nothing to do --> empty change track text markup lists.
return;
@@ -88,7 +88,7 @@ namespace {
// iteration over the redlines which overlap with the text node.
const SwRedlineTbl& rRedlineTbl = pIDocChangeTrack->GetRedlineTbl();
- const sal_uInt16 nRedlineCount( rRedlineTbl.Count() );
+ const sal_uInt16 nRedlineCount( rRedlineTbl.size() );
for ( sal_uInt16 nActRedline = nIdxOfFirstRedlineForTxtNode;
nActRedline < nRedlineCount;
++nActRedline)