summaryrefslogtreecommitdiff
path: root/svx/source/fmcomp/gridcell.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-06 08:59:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-06 07:47:30 +0000
commit7662e92c64ec194a2089f633a363d9dc45a4aa9d (patch)
tree1086154f31c0c9c6386b44ab83bd382f5308df8c /svx/source/fmcomp/gridcell.cxx
parent823a8f3117a8be1de92168226f561ed804db3e93 (diff)
loplugin:redundantcast find cstyle double casts
Change-Id: I5507be190dac781e5cdb545a60acf3d50056c9f8 Reviewed-on: https://gerrit.libreoffice.org/36187 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/fmcomp/gridcell.cxx')
-rw-r--r--svx/source/fmcomp/gridcell.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx
index a6485c72fd0a..79d44e75318e 100644
--- a/svx/source/fmcomp/gridcell.cxx
+++ b/svx/source/fmcomp/gridcell.cxx
@@ -1989,7 +1989,7 @@ bool DbNumericField::commitControl()
if (!aText.isEmpty()) // not empty
{
double fValue = static_cast<DoubleNumericField*>(m_pWindow.get())->GetValue();
- aVal <<= (double)fValue;
+ aVal <<= fValue;
}
m_rColumn.getModel()->setPropertyValue(FM_PROP_VALUE, aVal);
return true;
@@ -2141,7 +2141,7 @@ bool DbCurrencyField::commitControl()
{
fValue /= ::rtl::math::pow10Exp(1.0, m_nScale);
}
- aVal <<= (double)fValue;
+ aVal <<= fValue;
}
m_rColumn.getModel()->setPropertyValue(FM_PROP_VALUE, aVal);
return true;