[Libreoffice-commits] core.git: svl/source
Stephan Bergmann
sbergman at redhat.com
Tue Jan 12 23:29:16 PST 2016
svl/source/numbers/zformat.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit c70bc04224e5ad909d2c907ad2b489739837dd43
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Jan 13 08:28:50 2016 +0100
-Werror=unused-but-set-variable
Change-Id: I01c18a1b8193f491a82988426ac4e673dd68897a
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index 1c7f33b..db9cfe8 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -1899,7 +1899,6 @@ void SvNumberformat::GetOutputString(const OUString& sString,
}
*ppColor = NumFor[nIx].GetColor();
const ImpSvNumberformatInfo& rInfo = NumFor[nIx].Info();
- bool bRes = false;
if (rInfo.eScannedType == css::util::NumberFormat::TEXT)
{
const sal_uInt16 nAnz = NumFor[nIx].GetCount();
@@ -1910,7 +1909,7 @@ void SvNumberformat::GetOutputString(const OUString& sString,
case NF_SYMBOLTYPE_STAR:
if( bStarFlag )
{
- bRes = lcl_appendStarFillChar( sOutBuff, rInfo.sStrArray[i]);
+ lcl_appendStarFillChar( sOutBuff, rInfo.sStrArray[i]);
}
break;
case NF_SYMBOLTYPE_BLANK:
More information about the Libreoffice-commits
mailing list