desktop/source/migration/migration.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 0484d071bf9b7cf87521dbd57ad93fbea009ebf2 Author: Andrea Gelmini <[email protected]> AuthorDate: Tue Sep 13 20:00:01 2022 +0200 Commit: Julien Nabet <[email protected]> CommitDate: Wed Sep 14 06:46:14 2022 +0200 Fix typo Change-Id: Ibdcc95a3275b4af1b278a5d069c19f47e3e2c8d6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139874 Tested-by: Julien Nabet <[email protected]> Reviewed-by: Julien Nabet <[email protected]> diff --git a/desktop/source/migration/migration.cxx b/desktop/source/migration/migration.cxx index 0f8099278c0c..c8f00d03bbbb 100644 --- a/desktop/source/migration/migration.cxx +++ b/desktop/source/migration/migration.cxx @@ -640,7 +640,7 @@ void MigrationImpl::copyConfig() bool bRegistryModificationsXcuExists = false; OUString regFilePath = m_aInfo.userdata + "/user/registrymodifications.xcu"; OUString sMigratedProductName = m_aInfo.productname; - // remove version number from the end of pruduct name if exist + // remove version number from the end of product name if there’s one if (isdigit(sMigratedProductName[sMigratedProductName.getLength() - 1])) sMigratedProductName = (sMigratedProductName.copy(0, m_aInfo.productname.getLength() - 1)).trim(); File regFile(regFilePath);
