summaryrefslogtreecommitdiff
path: root/l10ntools/source/gConvXcu.cxx
diff options
context:
space:
mode:
authorjan iversen <jani@documentfoundation.org>2016-04-04 19:37:01 +0200
committerjan iversen <jani@documentfoundation.org>2016-04-04 19:37:01 +0200
commit2ef9d5de7df7b38e091af7bd7276e68812493cc0 (patch)
tree2e87eee8dde58034985a96ff2004fed934ec8e01 /l10ntools/source/gConvXcu.cxx
parent3ada44f631490f8910ce0bcf55353f70d7d0df6d (diff)
genlang, update to satisfy clang.
changes due a log from clang tinderbox. minor changes to interpret more files Change-Id: I3821aab91dc21e74c870628a4f2265ab61d37cca
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) {