summaryrefslogtreecommitdiff
path: root/l10ntools/source/gConvXcu.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools/source/gConvXcu.cxx')
-rw-r--r--l10ntools/source/gConvXcu.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/l10ntools/source/gConvXcu.cxx b/l10ntools/source/gConvXcu.cxx
index 3bc2cd074bde..0352e988a470 100644
--- a/l10ntools/source/gConvXcu.cxx
+++ b/l10ntools/source/gConvXcu.cxx
@@ -125,9 +125,9 @@ void convert_xcu::stopCollectData(char *syyText)
if (useText.size()) {
// locate key and extract it
- for (nL = 0; nL < (int)mcStack.size(); ++nL)
- useKey += (useKey.size() ? "." : "" ) + mcStack[nL];
- mcMemory.setSourceKey(miLineNo, msSourceFile, useKey, useText, "", "", mbMergeMode);
+ for (nL = 0; nL < (int)mcStack.size() -1; ++nL)
+ useKey += "." + mcStack[nL];
+ mcMemory.setSourceKey(miLineNo, msSourceFile, useKey, useText, "", "value", mcStack[nL], mbMergeMode);
}
if (mbMergeMode) {