diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-01 13:09:25 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-01 13:12:42 +0100 |
commit | 9ca8a63fff65acf2ea13b391495ad232f4636548 (patch) | |
tree | 31a8e255ec7029e08b847d33d8567c22b32b2a56 /sw/qa/core | |
parent | d9262e19c942f2719bfa7de3a5059e4f6e0039c6 (diff) |
Use consistent integer types in the SwRedlineTable interface
ddd84d08c9bb6e00fbd9a73bd52a28688a8c1ba7 "Convert
SV_DECL_PTRARR_SORT_DEL(_SwRedlineTbl) to o3tl::sorted_vector" had introduced
size and operator[] operating on underlying vector's size_type, but had left the
other functions at sal_uInt16. Keep everything at sal_uInt16 for now until
fixing everything to use that underlying vector size_type instead.
Change-Id: I92570dcb8ab5fa88b52e2b24899b833829693a88
Diffstat (limited to 'sw/qa/core')
-rw-r--r-- | sw/qa/core/uwriter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/core/uwriter.cxx b/sw/qa/core/uwriter.cxx index c0c45601fc8a..a32605d932d3 100644 --- a/sw/qa/core/uwriter.cxx +++ b/sw/qa/core/uwriter.cxx @@ -775,7 +775,7 @@ void SwDocTest::testSwScanner() const SwRedlineTable& rTable = m_pDoc->getIDocumentRedlineAccess().GetRedlineTable(); SwNodes& rNds = m_pDoc->GetNodes(); - CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(1), rTable.size()); + CPPUNIT_ASSERT_EQUAL(static_cast<SwRedlineTable::size_type>(1), rTable.size()); SwNodeIndex* pNodeIdx = rTable[0]->GetContentIdx(); CPPUNIT_ASSERT(pNodeIdx); |