diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-29 08:12:33 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-29 09:24:30 +0200 |
commit | 4586a3f564600f1a0ce15a5cb98868b43bb9351e (patch) | |
tree | b60e04d492ace0fad751ed3569f69eca564e85a9 /sc/source | |
parent | cc81115c9394fab06741361f3a79b9ca0b885454 (diff) |
cid#1242749 Unused value
Change-Id: I3227a05a4cafdcca23c32a62fdb72245cdf493d6
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/tool/compiler.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index d49aaf6bb0b4..f76b17a8632b 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -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) |