summaryrefslogtreecommitdiffstats
path: root/include/connectivity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:27:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:27:27 +0100
commitf8558f844674c7ba541699708e95f509026c9407 (patch)
treeb402baade1bf3b1bfe1cf89b3cacb275c020e44b /include/connectivity
parentMore loplugin:cstylecast: cppcanvas (diff)
downloadcore-f8558f844674c7ba541699708e95f509026c9407.tar.gz
core-f8558f844674c7ba541699708e95f509026c9407.zip
More loplugin:cstylecast: connectivity
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: Idbefb16acae20ab137497e78c9bc5dc5634c07fe
Diffstat (limited to 'include/connectivity')
-rw-r--r--include/connectivity/FValue.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/connectivity/FValue.hxx b/include/connectivity/FValue.hxx
index 241f14ce0b0a..4849ddad5e61 100644
--- a/include/connectivity/FValue.hxx
+++ b/include/connectivity/FValue.hxx
@@ -332,7 +332,7 @@ namespace connectivity
operator sal_Int64() const { return isNull() ? 0 : getLong(); }
operator sal_uInt64() const { return isNull() ? 0 : getULong(); }
- operator float() const { return isNull() ? (float)0.0: getFloat(); }
+ operator float() const { return isNull() ? float(0.0): getFloat(); }
operator double() const { return isNull() ? 0.0 : getDouble(); }
operator OUString() const