summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-07 09:08:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-07 12:16:13 +0000
commitbe8b9b4d29abb951aea0ea195541143d256954dc (patch)
treef35cddad2b45e189b23d881cb7c194845eb5c933 /svl
parent7d98edfa4955ab6280655a9678d6a913845fa2f3 (diff)
loplugin:redundantcast find cstyle arithmetic casts
Change-Id: If7c259f0d12a41182f476ddb558f7cb5f76f9577 Reviewed-on: https://gerrit.libreoffice.org/36253 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/numbers/zformat.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index ed6a04ad4b90..80841f320f16 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -1205,13 +1205,13 @@ SvNumberformat::SvNumberformat(OUString& rString,
// type check
if (nIndex == 0)
{
- eType = (short) NumFor[nIndex].Info().eScannedType;
+ eType = NumFor[nIndex].Info().eScannedType;
}
else if (nIndex == 3)
{ // #77026# Everything recognized IS text
NumFor[nIndex].Info().eScannedType = css::util::NumberFormat::TEXT;
}
- else if ( (short) NumFor[nIndex].Info().eScannedType != eType)
+ else if ( NumFor[nIndex].Info().eScannedType != eType)
{
eType = css::util::NumberFormat::DEFINED;
}