User: hr      
Date: 2007-11-01 15:03:49+0000
Modified:
   dba/dbaccess/source/ui/control/FieldDescControl.cxx

Log:
 INTEGRATION: CWS dba24b (1.47.28); FILE MERGED
 2007/08/30 12:41:50 oj 1.47.28.2: #i76657# check for the PRECISION in the 
create params
 2007/08/22 11:41:57 oj 1.47.28.1: #i76374# handle cross join as natural join 
now in query design

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.47&r2=1.48
Delta lines:  +3 -1
-------------------
--- FieldDescControl.cxx        2007-07-06 08:06:00+0000        1.47
+++ FieldDescControl.cxx        2007-11-01 15:03:47+0000        1.48
@@ -1251,6 +1251,7 @@
 void OFieldDescControl::DeactivateAggregate( EControlType eType )
 {
        DBG_CHKTHIS(OFieldDescControl,NULL);
+    pLastFocusWindow = NULL;
        //////////////////////////////////////////////////////////////////////
        // Controls zerstoeren
        switch( eType )
@@ -1586,7 +1587,8 @@
                        ActivateAggregate( tpScale );
                        
pScale->SetMax(::std::max<sal_Int32>(pFieldType->nMaximumScale,pFieldDescr->GetScale()));
                        pScale->SetMin(pFieldType->nMinimumScale);
-                       
pScale->SetSpecialReadOnly(pFieldType->aCreateParams.getLength()==0);
+            static const ::rtl::OUString 
s_sPRECISION(RTL_CONSTASCII_USTRINGPARAM("PRECISION"));
+                       
pScale->SetSpecialReadOnly(pFieldType->aCreateParams.getLength() == 0 || 
pFieldType->aCreateParams == s_sPRECISION);
                }
                else
                        DeactivateAggregate( tpScale );




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

Reply via email to