summaryrefslogtreecommitdiff
path: root/desktop/source/migration
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2022-09-13 20:00:01 +0200
committerJulien Nabet <serval2412@yahoo.fr>2022-09-14 06:46:14 +0200
commit0484d071bf9b7cf87521dbd57ad93fbea009ebf2 (patch)
treebe3bf680cc7d6bd3b438a0f19d64f2650fe63578 /desktop/source/migration
parent7e8ba44fed9a20b5d226b9d3733b79a35acbbe00 (diff)
Fix typo
Change-Id: Ibdcc95a3275b4af1b278a5d069c19f47e3e2c8d6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139874 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'desktop/source/migration')
-rw-r--r--desktop/source/migration/migration.cxx2
1 files changed, 1 insertions, 1 deletions
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);