summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-06 18:32:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-06 18:32:34 +0200
commit9cc130d233dc980bfecd4a485bef0280feff5b18 (patch)
tree5aafa5139b1fe4a1bb545530190210ca34bc7bd4 /extensions/source/propctrlr
parent1933e2fb022a974a6814469698ba5d3bdc30919a (diff)
Improved loplugin:redundantcast, static_cast on arithmetic types: extensions
Change-Id: Ib620223544c2f6fca813dffa912cf773ff5b7c54
Diffstat (limited to 'extensions/source/propctrlr')
-rw-r--r--extensions/source/propctrlr/usercontrol.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/propctrlr/usercontrol.cxx b/extensions/source/propctrlr/usercontrol.cxx
index ce90e1926514..c5c7c1e85ae7 100644
--- a/extensions/source/propctrlr/usercontrol.cxx
+++ b/extensions/source/propctrlr/usercontrol.cxx
@@ -124,7 +124,7 @@ namespace pcr
{
Date aCurrentDate( Date::SYSTEM );
static css::util::Date STANDARD_DB_DATE(30,12,1899);
- nValue = ::dbtools::DBTypeConversion::toDouble(::dbtools::DBTypeConversion::toDate(static_cast<sal_Int32>(aCurrentDate.GetDate())),STANDARD_DB_DATE);
+ nValue = ::dbtools::DBTypeConversion::toDouble(::dbtools::DBTypeConversion::toDate(aCurrentDate.GetDate()),STANDARD_DB_DATE);
}
break;
case css::util::NumberFormat::TIME: