desktop: loplugin:loopvartoosmall
Change-Id: Ic17077b48e0ebf1fe72ba5a5c401dd0e2c609c68
This commit is contained in:
@@ -777,7 +777,7 @@ void DesktopLOKTest::testSheetSelections()
|
|||||||
char* pCopiedContent = pDocument->pClass->getTextSelection(pDocument, nullptr, &pUsedMimeType);
|
char* pCopiedContent = pDocument->pClass->getTextSelection(pDocument, nullptr, &pUsedMimeType);
|
||||||
std::vector<int> pExpected = {5, 6, 7, 8, 9};
|
std::vector<int> pExpected = {5, 6, 7, 8, 9};
|
||||||
std::istringstream iss(pCopiedContent);
|
std::istringstream iss(pCopiedContent);
|
||||||
for (uint i = 0; i < pExpected.size(); i++)
|
for (size_t i = 0; i < pExpected.size(); i++)
|
||||||
{
|
{
|
||||||
std::string token;
|
std::string token;
|
||||||
iss >> token;
|
iss >> token;
|
||||||
@@ -823,7 +823,7 @@ void DesktopLOKTest::testSheetSelections()
|
|||||||
char* pCopiedContent = pDocument->pClass->getTextSelection(pDocument, nullptr, &pUsedMimeType);
|
char* pCopiedContent = pDocument->pClass->getTextSelection(pDocument, nullptr, &pUsedMimeType);
|
||||||
std::vector<int> pExpected = { 8 };
|
std::vector<int> pExpected = { 8 };
|
||||||
std::istringstream iss(pCopiedContent);
|
std::istringstream iss(pCopiedContent);
|
||||||
for (uint i = 0; i < pExpected.size(); i++)
|
for (size_t i = 0; i < pExpected.size(); i++)
|
||||||
{
|
{
|
||||||
std::string token;
|
std::string token;
|
||||||
iss >> token;
|
iss >> token;
|
||||||
|
Reference in New Issue
Block a user