[Libreoffice-commits] core.git: forms/source

Takeshi Abe tabe at fixedpoint.jp
Thu Sep 15 21:29:13 UTC 2016


 forms/source/component/FormattedField.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d9da9a6e4d6f9537ad6b95f6b631078d195a03d5
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Thu Sep 15 09:56:48 2016 +0900

    Drop redundant cast
    
    Change-Id: Ief00bc6e82cd4e54602e069c0bafd1dfc7bdd2ff

diff --git a/forms/source/component/FormattedField.cxx b/forms/source/component/FormattedField.cxx
index 9c9c7e1..2686b7b 100644
--- a/forms/source/component/FormattedField.cxx
+++ b/forms/source/component/FormattedField.cxx
@@ -776,7 +776,7 @@ void OFormattedModel::read(const Reference<XObjectInputStream>& _rxInStream) thr
                             aEffectiveValue <<= _rxInStream->readUTF();
                             break;
                         case 1: // double
-                            aEffectiveValue <<= (double)_rxInStream->readDouble();
+                            aEffectiveValue <<= _rxInStream->readDouble();
                             break;
                         case 2:
                             break;


More information about the Libreoffice-commits mailing list