sc/source/core/tool/compiler.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
New commits: commit 4586a3f564600f1a0ce15a5cb98868b43bb9351e Author: Noel Grandin <n...@peralex.com> Date: Wed Oct 29 08:12:33 2014 +0200 cid#1242749 Unused value Change-Id: I3227a05a4cafdcca23c32a62fdb72245cdf493d6 diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index d49aaf6..f76b17a 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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits