summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-01-13 08:28:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-01-13 08:28:50 +0100
commitc70bc04224e5ad909d2c907ad2b489739837dd43 (patch)
tree00426201863882b7614a85f0d20be32f78805f8e /svl
parentdc85ef3aeb28edc51a61115d15ebe6dba8bd1ef8 (diff)
-Werror=unused-but-set-variable
Change-Id: I01c18a1b8193f491a82988426ac4e673dd68897a
Diffstat (limited to 'svl')
-rw-r--r--svl/source/numbers/zformat.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index 1c7f33bb2f84..db9cfe8b97e3 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: