diff options
author | jan iversen <jani@documentfoundation.org> | 2016-04-04 19:37:01 +0200 |
---|---|---|
committer | jan iversen <jani@documentfoundation.org> | 2016-04-04 19:37:01 +0200 |
commit | 2ef9d5de7df7b38e091af7bd7276e68812493cc0 (patch) | |
tree | 2e87eee8dde58034985a96ff2004fed934ec8e01 /l10ntools/source/gConvXcu.cxx | |
parent | 3ada44f631490f8910ce0bcf55353f70d7d0df6d (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.cxx | 6 |
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) { |