diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-11-21 16:40:37 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-11-21 16:40:37 +0000 |
commit | 58855f1bf48e0daa9ac09ff625fe62a7a8f243cb (patch) | |
tree | 4d1101e72c2d60d7056d66d4f7657e6f7ad08bea /forms | |
parent | cfe17a5ea798aec385e0358a2965cbe50d7780e8 (diff) |
INTEGRATION: CWS pj65 (1.35.10); FILE MERGED
2006/10/31 13:41:03 pjanik 1.35.10.1: #i71027#: prevent warnings on Mac OS X with gcc 4.0.1.
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/Edit.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/component/Edit.cxx b/forms/source/component/Edit.cxx index 1eb4e059d362..b7c692d36c8e 100644 --- a/forms/source/component/Edit.cxx +++ b/forms/source/component/Edit.cxx @@ -4,9 +4,9 @@ * * $RCSfile: Edit.cxx,v $ * - * $Revision: 1.35 $ + * $Revision: 1.36 $ * - * last change: $Author: obo $ $Date: 2006-10-12 11:10:05 $ + * last change: $Author: vg $ $Date: 2006-11-21 17:40:37 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -728,7 +728,7 @@ void OEditModel::onConnectedDbColumn( const Reference< XInterface >& _rxForm ) m_bMaxTextLenModified = getINT16(m_xAggregateSet->getPropertyValue(PROPERTY_MAXTEXTLEN)) != 0; if ( !m_bMaxTextLenModified ) { - sal_Int32 nFieldLen; + sal_Int32 nFieldLen = 0; xField->getPropertyValue(::rtl::OUString::createFromAscii("Precision")) >>= nFieldLen; if (nFieldLen && nFieldLen <= USHRT_MAX) |