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 | cfe17a5ea798aec385e0358a2965cbe50d7780e8 (patch) | |
tree | 03bc579b100d88d8719d9fcc5b4ae8c1b29fa0c5 /forms/source/component/Date.cxx | |
parent | 56232bb389e441ddfd2271161e52ad63cae0f66e (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/source/component/Date.cxx')
-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 76f8e671d044..e87bcaec23d0 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); } |