Kaydet (Commit) 4586a3f5 authored tarafından Noel Grandin's avatar Noel Grandin

cid#1242749 Unused value

Change-Id: I3227a05a4cafdcca23c32a62fdb72245cdf493d6
üst cc81115c
......@@ -463,7 +463,6 @@ static bool lcl_parseExternalName(
const sal_Unicode* const pStart = rSymbol.getStr();
const sal_Unicode* p = pStart;
sal_Int32 nLen = rSymbol.getLength();
sal_Unicode cPrev = 0;
OUString aTmpFile, aTmpName;
sal_Int32 i = 0;
bool bInName = false;
......@@ -479,7 +478,6 @@ static bool lcl_parseExternalName(
if (!p || p == pStart)
return false;
i = sal_Int32(p - pStart);
cPrev = *(p-1);
}
for ( ; i < nLen; ++i, ++p)
{
......@@ -493,7 +491,7 @@ static bool lcl_parseExternalName(
{
// Move to the next char and loop until the second single
// quote.
cPrev = c;
sal_Unicode cPrev = c;
++i; ++p;
for (sal_Int32 j = i; j < nLen; ++j, ++p)
{
......@@ -547,7 +545,6 @@ static bool lcl_parseExternalName(
return false;
}
cPrev = c;
continue;
}
}
......@@ -599,7 +596,6 @@ static bool lcl_parseExternalName(
aTmpFile += OUString(c);
}
}
cPrev = c;
}
if (!bInName)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment