Kaydet (Commit) bb843223 authored tarafından Matteo Casalin's avatar Matteo Casalin

Use already available index in following getToken call

Change-Id: I1617af942d59c59039e97400a8c39bbc36c3bceb
Reviewed-on: https://gerrit.libreoffice.org/68124
Tested-by: Jenkins
Reviewed-by: 's avatarMatteo Casalin <matteo.casalin@yahoo.com>
üst a03c8081
......@@ -1168,8 +1168,7 @@ void ScDocument::CompareDocument( ScDocument& rOtherDoc )
sal_Int32 nIndex = 0;
OUStringBuffer aProText = aTemplate.getToken( 0, '#', nIndex );
aProText.append(aTabName);
nIndex = 0;
aProText.append(aTemplate.getToken( 1, '#', nIndex ));
aProText.append(aTemplate.getToken( 0, '#', nIndex ));
ScProgress aProgress( GetDocumentShell(),
aProText.makeStringAndClear(), 3*nThisEndRow, true ); // 2x FindOrder, 1x here
long nProgressStart = 2*nThisEndRow; // start for here
......
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