diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-11-21 16:40:26 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-11-21 16:40:26 +0000 |
commit | 39e9ff275c32cd34da2c1a8fdf9150659d2592a3 (patch) | |
tree | 2fa524d709b8c98c374ecad511188e5d3f955032 /forms | |
parent | 4c34df47b1938ee3080c4d2e34ec1cdf5a014abb (diff) |
INTEGRATION: CWS pj65 (1.23.22); FILE MERGED
2006/10/31 13:40:59 pjanik 1.23.22.1: #i71027#: prevent warnings on Mac OS X with gcc 4.0.1.
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/Date.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/component/Date.cxx b/forms/source/component/Date.cxx index 2dc21b785..50ff7a788 100644 --- a/forms/source/component/Date.cxx +++ b/forms/source/component/Date.cxx @@ -4,9 +4,9 @@ * * $RCSfile: Date.cxx,v $ * - * $Revision: 1.23 $ + * $Revision: 1.24 $ * - * last change: $Author: obo $ $Date: 2006-09-16 23:48:14 $ + * last change: $Author: vg $ $Date: 2006-11-21 17:40:26 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -269,7 +269,7 @@ void ODateModel::onConnectedDbColumn( const Reference< XInterface >& _rxForm ) m_bDateTimeField = sal_False; try { - sal_Int32 nFieldType; + sal_Int32 nFieldType = 0; xField->getPropertyValue(PROPERTY_FIELDTYPE) >>= nFieldType; m_bDateTimeField = (nFieldType == DataType::TIMESTAMP); } |