diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/documen4.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/core/data/documen4.cxx b/sc/source/core/data/documen4.cxx index d99561497257..b89f2f3d3ebd 100644 --- a/sc/source/core/data/documen4.cxx +++ b/sc/source/core/data/documen4.cxx @@ -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 |