desktop: loplugin:loopvartoosmall

Change-Id: Ic17077b48e0ebf1fe72ba5a5c401dd0e2c609c68
This commit is contained in:
Miklos Vajna 2016-02-19 11:38:39 +01:00
parent bebd483511
commit 8071c8cc56

View File

@ -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;