diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-06-29 15:56:39 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-06-29 21:09:47 +0200 |
commit | 65866a93f736226f57e4622e6908cb7a32a79068 (patch) | |
tree | e3392af532096a2b6774e90ebf1ffda887fde2c8 /tools | |
parent | 07f03ee052484eccc04beb89071f402a17f0c516 (diff) |
Improved loplugin:redundantcast (const-qualified typedefs): tools
Change-Id: I919e49f8581d38a82622ca4b8cf9c08de8da4964
Reviewed-on: https://gerrit.libreoffice.org/56705
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/datetime/datetime.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/datetime/datetime.cxx b/tools/source/datetime/datetime.cxx index 1dc2b79cb990..b92ce702e3cd 100644 --- a/tools/source/datetime/datetime.cxx +++ b/tools/source/datetime/datetime.cxx @@ -304,7 +304,7 @@ DateTime DateTime::CreateFromUnixTime(const double fSecondsSinceEpoch) Date aDate (1, 1, 1970); aDate.AddDays(nDays); - SAL_WARN_IF(aDate - Date(1, 1, 1970) != static_cast<sal_Int32>(nDays), "tools.datetime", + SAL_WARN_IF(aDate - Date(1, 1, 1970) != nDays, "tools.datetime", "DateTime::CreateFromUnixTime - date truncated to max"); fValue -= nDays; |