summaryrefslogtreecommitdiffstats
path: root/l10ntools/source/gConvSrc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools/source/gConvSrc.cxx')
-rw-r--r--l10ntools/source/gConvSrc.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/l10ntools/source/gConvSrc.cxx b/l10ntools/source/gConvSrc.cxx
index 213a3d25434c..d7b57d69d07b 100644
--- a/l10ntools/source/gConvSrc.cxx
+++ b/l10ntools/source/gConvSrc.cxx
@@ -60,7 +60,7 @@ void convert_src::setValue(string& syyText)
{
cout << "test value\n";
for (int i = 0; i < stackSize; i++)
- cout << mcStack[i] << "\n";
+ cout << i << ") " << mcStack[i] << "\n";
}
string subid = (stackSize > 3) ? mcStack[stackSize - 1] : "";
string stringid = mcStack[stackSize - 2];
@@ -82,8 +82,10 @@ bool convert_src::setLang(string& syyText)
-void convert_src::setName(string& syyText)
+void convert_src::setName(string& syyText, bool revertLevel)
{
+ if (revertLevel)
+ mcStack.pop_back();
mcStack.push_back(syyText);
}