Tag: cws_src680_mfdouble
User: pl      
Date: 2006/12/19 09:29:44

Modified:
   dba/dbaccess/source/ui/control/FieldDescControl.cxx
   dba/dbaccess/source/ui/dlg/adminpages.cxx
   dba/dbaccess/source/ui/dlg/detailpages.cxx
   dba/dbaccess/source/ui/dlg/dlgsize.cxx

Log:
 #i71046# increase precision of MetricField and friends

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.44&r2=1.44.44.1
Delta lines:  +7 -7
-------------------
--- FieldDescControl.cxx        12 Oct 2006 13:36:07 -0000      1.44
+++ FieldDescControl.cxx        19 Dec 2006 17:29:41 -0000      1.44.44.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: FieldDescControl.cxx,v $
  *
- *  $Revision: 1.44 $
+ *  $Revision: 1.44.44.1 $
  *
- *  last change: $Author: obo $ $Date: 2006/10/12 13:36:07 $
+ *  last change: $Author: pl $ $Date: 2006/12/19 17:29:41 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -630,7 +630,7 @@
                        break;
                case FIELD_PROPERTY_TEXTLEN:
                        if (pTextLen)
-                               return 
String::CreateFromInt32(pTextLen->GetValue());
+                               return 
String::CreateFromInt64(pTextLen->GetValue());
                case FIELD_PROPERTY_NUMTYPE:
                        if (pNumType)
                                return pNumType->GetSelectEntry();
@@ -1993,11 +1993,11 @@
                pFieldDescr->SetAutoIncrement( 
pAutoIncrement->GetSelectEntryPos() == 0 );
 
        if( pTextLen )
-               pFieldDescr->SetPrecision( pTextLen->GetValue() );
+               pFieldDescr->SetPrecision( 
static_cast<sal_Int32>(pTextLen->GetValue()) );
        else if( pLength )
-               pFieldDescr->SetPrecision( pLength->GetValue() );
+               pFieldDescr->SetPrecision( 
static_cast<sal_Int32>(pLength->GetValue()) );
        if( pScale )
-               pFieldDescr->SetScale( pScale->GetValue() );
+               pFieldDescr->SetScale( 
static_cast<sal_Int32>(pScale->GetValue()) );
 
        if(m_pColumnName)
                pFieldDescr->SetName(m_pColumnName->GetText());

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

File [changed]: adminpages.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/adminpages.cxx?r1=1.44&r2=1.44.56.1
Delta lines:  +4 -4
-------------------
--- adminpages.cxx      17 Sep 2006 07:07:06 -0000      1.44
+++ adminpages.cxx      19 Dec 2006 17:29:41 -0000      1.44.56.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: adminpages.cxx,v $
  *
- *  $Revision: 1.44 $
+ *  $Revision: 1.44.56.1 $
  *
- *  last change: $Author: obo $ $Date: 2006/09/17 07:07:06 $
+ *  last change: $Author: pl $ $Date: 2006/12/19 17:29:41 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -297,7 +297,7 @@
        {
                if( (_pEdit != NULL) && (_pEdit->GetValue() != 
_pEdit->GetSavedValue().ToInt32()) )
                {
-                       _rSet.Put(SfxInt32Item(_nID, _pEdit->GetValue()));
+                       _rSet.Put(SfxInt32Item(_nID, 
static_cast<INT32>(_pEdit->GetValue())));
                        _bChangedSomething = sal_True;
                }
        }

File [changed]: detailpages.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/detailpages.cxx?r1=1.41&r2=1.41.16.1
Delta lines:  +5 -5
-------------------
--- detailpages.cxx     17 Sep 2006 07:08:38 -0000      1.41
+++ detailpages.cxx     19 Dec 2006 17:29:41 -0000      1.41.16.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: detailpages.cxx,v $
  *
- *  $Revision: 1.41 $
+ *  $Revision: 1.41.16.1 $
  *
- *  last change: $Author: obo $ $Date: 2006/09/17 07:08:38 $
+ *  last change: $Author: pl $ $Date: 2006/12/19 17:29:41 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -1325,12 +1325,12 @@
                {
                        if ( m_aCBUseSSL.IsChecked() )
                        {
-                               m_iNormalPort = m_aNFPortNumber.GetValue();
+                               m_iNormalPort = 
static_cast<sal_Int32>(m_aNFPortNumber.GetValue());
                                m_aNFPortNumber.SetValue(m_iSSLPort);
                        }
                        else
                        {
-                               m_iSSLPort = m_aNFPortNumber.GetValue();
+                               m_iSSLPort = 
static_cast<sal_Int32>(m_aNFPortNumber.GetValue());
                                m_aNFPortNumber.SetValue(m_iNormalPort);
                        }
                }       

File [changed]: dlgsize.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/dlgsize.cxx?r1=1.7&r2=1.7.56.1
Delta lines:  +4 -4
-------------------
--- dlgsize.cxx 17 Sep 2006 07:09:31 -0000      1.7
+++ dlgsize.cxx 19 Dec 2006 17:29:41 -0000      1.7.56.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: dlgsize.cxx,v $
  *
- *  $Revision: 1.7 $
+ *  $Revision: 1.7.56.1 $
  *
- *  last change: $Author: obo $ $Date: 2006/09/17 07:09:31 $
+ *  last change: $Author: pl $ $Date: 2006/12/19 17:29:41 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -119,7 +119,7 @@
                aMF_VALUE.Enable(!aCB_STANDARD.IsChecked());
                if (aCB_STANDARD.IsChecked())
                {
-                       m_nPrevValue = aMF_VALUE.GetValue(FUNIT_CM);
+                       m_nPrevValue = 
static_cast<sal_Int32>(aMF_VALUE.GetValue(FUNIT_CM));
                                // don't use getValue as this will use 
aCB_STANDARD.to determine if we're standard
                        aMF_VALUE.SetEmptyFieldValue();
                }




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

Reply via email to