summaryrefslogtreecommitdiffstats
path: root/reportdesign
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/filter/xml/xmlControlProperty.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/filter/xml/xmlControlProperty.cxx b/reportdesign/source/filter/xml/xmlControlProperty.cxx
index f3fbc12d5493..b5a021c96e01 100644
--- a/reportdesign/source/filter/xml/xmlControlProperty.cxx
+++ b/reportdesign/source/filter/xml/xmlControlProperty.cxx
@@ -265,7 +265,7 @@ Any OXMLControlProperty::convertString(const ::com::sun::star::uno::Type& _rExpe
nType = TYPE_TIME;
else if ( _rExpectedType.equals(s_aDateTimeType) )
nType = TYPE_DATETIME;
- if ( !nType )
+ if ( nType )
{
// first extract the double
double nValue = 0;