Kaydet (Commit) 8071c8cc authored tarafından Miklos Vajna's avatar Miklos Vajna

desktop: loplugin:loopvartoosmall

Change-Id: Ic17077b48e0ebf1fe72ba5a5c401dd0e2c609c68
üst bebd4835
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment