diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-04-04 08:57:19 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-04-04 09:11:51 +0000 |
commit | 4e444871a4c9d819c136b383c81b7f7df386a78d (patch) | |
tree | e13952b0da7c2d615380b26d9df1e56dd7d6f20d /sd | |
parent | b62e6b011a3c9a340353546b73ff2eda0e793215 (diff) |
Use std::size_t
And include <cstddef> where necessary.
Change-Id: Icc1208528d6a8b04375d55ccbf3cd6ef046b454f
Reviewed-on: https://gerrit.libreoffice.org/23796
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/qa/unit/tiledrendering/tiledrendering.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/qa/unit/tiledrendering/tiledrendering.cxx b/sd/qa/unit/tiledrendering/tiledrendering.cxx index 585c3f919448..3d1b0b5d4325 100644 --- a/sd/qa/unit/tiledrendering/tiledrendering.cxx +++ b/sd/qa/unit/tiledrendering/tiledrendering.cxx @@ -435,14 +435,14 @@ void SdTiledRenderingTest::testSearch() CPPUNIT_ASSERT_EQUAL(OUString("bbb"), rEditView.GetSelected()); // Did the selection callback fire? - CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(1), m_aSelection.size()); + CPPUNIT_ASSERT_EQUAL(static_cast<std::size_t>(1), m_aSelection.size()); // Search for something on the second slide, and make sure that the set-part callback fired. lcl_search("bbb"); CPPUNIT_ASSERT_EQUAL(static_cast<sal_Int32>(1), m_nPart); CPPUNIT_ASSERT_EQUAL(true, m_bFound); // This was 0; should be 1 match for "find". - CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(1), m_aSearchResultSelection.size()); + CPPUNIT_ASSERT_EQUAL(static_cast<std::size_t>(1), m_aSearchResultSelection.size()); // Result is on the second slide. CPPUNIT_ASSERT_EQUAL(1, m_aSearchResultPart[0]); @@ -482,7 +482,7 @@ void SdTiledRenderingTest::testSearchAllSelections() // Make sure this is found on the 3rd slide. CPPUNIT_ASSERT_EQUAL(static_cast<sal_Int32>(2), m_nPart); // This was 1: only the first match was highlighted. - CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(2), m_aSelection.size()); + CPPUNIT_ASSERT_EQUAL(static_cast<std::size_t>(2), m_aSelection.size()); comphelper::LibreOfficeKit::setActive(false); } |