[Libreoffice-commits] core.git: desktop/qa
Miklos Vajna
vmiklos at collabora.co.uk
Fri Feb 19 10:39:24 UTC 2016
desktop/qa/desktop_lib/test_desktop_lib.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 8071c8cc56c938d08cf328ae2f50c4e22d2f094c
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Fri Feb 19 11:38:39 2016 +0100
desktop: loplugin:loopvartoosmall
Change-Id: Ic17077b48e0ebf1fe72ba5a5c401dd0e2c609c68
diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx b/desktop/qa/desktop_lib/test_desktop_lib.cxx
index 0c44341..a562ab2 100644
--- a/desktop/qa/desktop_lib/test_desktop_lib.cxx
+++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx
@@ -777,7 +777,7 @@ void DesktopLOKTest::testSheetSelections()
char* pCopiedContent = pDocument->pClass->getTextSelection(pDocument, nullptr, &pUsedMimeType);
std::vector<int> pExpected = {5, 6, 7, 8, 9};
std::istringstream iss(pCopiedContent);
- for (uint i = 0; i < pExpected.size(); i++)
+ for (size_t i = 0; i < pExpected.size(); i++)
{
std::string token;
iss >> token;
@@ -823,7 +823,7 @@ void DesktopLOKTest::testSheetSelections()
char* pCopiedContent = pDocument->pClass->getTextSelection(pDocument, nullptr, &pUsedMimeType);
std::vector<int> pExpected = { 8 };
std::istringstream iss(pCopiedContent);
- for (uint i = 0; i < pExpected.size(); i++)
+ for (size_t i = 0; i < pExpected.size(); i++)
{
std::string token;
iss >> token;
More information about the Libreoffice-commits
mailing list