Tag: cws_src680_dba201b
User: oj      
Date: 05/08/12 04:20:44

Modified:
 /dba/dbaccess/source/ui/control/
  FieldDescControl.cxx

Log:
 #i48851# set default value to empty when string is zero

File Changes:

Directory: /dba/dbaccess/source/ui/control/
===========================================

File [changed]: FieldDescControl.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/control/FieldDescControl.cxx?r1=1.38.58.3&r2=1.38.58.4
Delta lines:  +5 -3
-------------------
--- FieldDescControl.cxx        11 Jul 2005 13:37:15 -0000      1.38.58.3
+++ FieldDescControl.cxx        12 Aug 2005 11:20:41 -0000      1.38.58.4
@@ -2,9 +2,9 @@
  *
  *  $RCSfile: FieldDescControl.cxx,v $
  *
- *  $Revision: 1.38.58.3 $
+ *  $Revision: 1.38.58.4 $
  *
- *  last change: $Author: fs $ $Date: 2005/07/11 13:37:15 $
+ *  last change: $Author: oj $ $Date: 2005/08/12 11:20:41 $
  *
  *  The Contents of this file are made available subject to the terms of
  *  either of the following licenses
@@ -1998,7 +1998,9 @@
                catch(const Exception&)
                {
                }
-       }
+       } // if ( sDefault.getLength() )
+       else
+               pFieldDescr->SetControlDefault(Any());
 
        if((pRequired && pRequired->GetSelectEntryPos() == 0) || 
pFieldDescr->IsPrimaryKey() || (pBoolDefault && pBoolDefault->GetEntryCount() 
== 2))  // yes
                pFieldDescr->SetIsNullable( ColumnValue::NO_NULLS );




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to