diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-02 09:26:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-02 14:48:47 +0100 |
commit | 83766aa698c3a8bfaa04f78c22f54213fc47b3cb (patch) | |
tree | 65aa6046d198d42f0f27b7481de5c3b69d2acd4e /vcl | |
parent | 2b08019e2a5aa2cb097099370c8d02a9ae1c75ee (diff) |
coverity#1242965 Result is not floating-point
Change-Id: If190c21cdc0647c18c7c7ba561e677dc26d0d4b5
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk/a11y/atktextattributes.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk/a11y/atktextattributes.cxx b/vcl/unx/gtk/a11y/atktextattributes.cxx index 0d7cdc0e7785..fe2f0d5e2f52 100644 --- a/vcl/unx/gtk/a11y/atktextattributes.cxx +++ b/vcl/unx/gtk/a11y/atktextattributes.cxx @@ -833,7 +833,7 @@ Bool2Shadow( const uno::Any& rAny ) static gchar * Short2Degree( const uno::Any& rAny ) { - float f = rAny.get<sal_Int16>() / 10; + float f = rAny.get<sal_Int16>() / 10.0; return g_strdup_printf( "%g", f ); } |