diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-04-04 10:57:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-05 07:02:20 +0000 |
commit | 4709aa4babc16b2ec0536837012c33b460ed410c (patch) | |
tree | a5a5c9cae8191576fc942f96c0e9a884b1dd8d85 | |
parent | 034e35d789cd6e349c456e273d18d5128e1580bf (diff) |
sc: remove redundant casts
surprisingly GetDouble() already returns a double
Change-Id: I1561f3d20e42531adad4d51b2d48ce92b126ffc2
Reviewed-on: https://gerrit.libreoffice.org/36068
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | sc/source/core/tool/interpr4.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx index 976f163a5e67..6380ffdf6d1f 100644 --- a/sc/source/core/tool/interpr4.cxx +++ b/sc/source/core/tool/interpr4.cxx @@ -2723,7 +2723,7 @@ void ScInterpreter::ScExternal() break; case SC_ADDINARG_DOUBLE: - aParam <<= (double) GetDouble(); + aParam <<= GetDouble(); break; case SC_ADDINARG_STRING: @@ -2835,7 +2835,7 @@ void ScInterpreter::ScExternal() { uno::Any aElem; if ( nStackType == svDouble ) - aElem <<= (double) GetDouble(); + aElem <<= GetDouble(); else if ( nStackType == svString ) aElem <<= GetString().getString(); else @@ -2881,7 +2881,7 @@ void ScInterpreter::ScExternal() switch( nStackType ) { case svDouble: - aParam <<= (double) GetDouble(); + aParam <<= GetDouble(); break; case svString: aParam <<= GetString().getString(); |