summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--forms/source/component/FormattedField.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/FormattedField.cxx b/forms/source/component/FormattedField.cxx
index 9c9c7e12d3b3..2686b7b32784 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;