summaryrefslogtreecommitdiff
path: root/l10ntools/source/export.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools/source/export.cxx')
-rw-r--r--l10ntools/source/export.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx
index f68cf29f1fe5..8b44727e26ae 100644
--- a/l10ntools/source/export.cxx
+++ b/l10ntools/source/export.cxx
@@ -933,7 +933,7 @@ sal_Bool Export::WriteExportList(ResData *pResData, ExportList *pExportList,
else {
sGID += ".";
sGID += pResData->sId;
- while (!sGID.isEmpty() && sGID[sGID.getLength() - 1] == '.') {
+ while (sGID.endsWith(".")) {
sGID = sGID.copy(0, sGID.getLength() - 1);
}
}