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.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/l10ntools/source/gConvXcu.cxx b/l10ntools/source/gConvXcu.cxx
index 58f22d78493c..cae480bb77e2 100644
--- a/l10ntools/source/gConvXcu.cxx
+++ b/l10ntools/source/gConvXcu.cxx
@@ -47,14 +47,13 @@ void convert_xcu::doExecute()
void convert_xcu::pushKey(char *syyText)
{
string sKey, sTag = copySource(syyText);
- int nL, nE;
// find key in tag
- nL = sTag.find("oor:name=\"");
+ int nL = sTag.find("oor:name=\"");
if (nL != (int)string::npos) {
// find end of key
nL += 10;
- nE = sTag.find("\"", nL);
+ int nE = sTag.find("\"", nL);
if (nE != (int)string::npos)
sKey = sTag.substr(nL, nE - nL);
}