Tag: cws_src680_dba205b
User: oj      
Date: 2006/08/02 08:49:54

Modified:
   dba/connectivity/source/commontools/CommonTools.cxx
   dba/connectivity/source/commontools/dbtools.cxx

Log:
 #i59907# hyper inserted

File Changes:

Directory: /dba/connectivity/source/commontools/
================================================

File [changed]: CommonTools.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/commontools/CommonTools.cxx?r1=1.22&r2=1.22.38.1
Delta lines:  +9 -3
-------------------
--- CommonTools.cxx     20 Jun 2006 01:02:32 -0000      1.22
+++ CommonTools.cxx     2 Aug 2006 15:49:51 -0000       1.22.38.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: CommonTools.cxx,v $
  *
- *  $Revision: 1.22 $
+ *  $Revision: 1.22.38.1 $
  *
- *  last change: $Author: hr $ $Date: 2006/06/20 01:02:32 $
+ *  last change: $Author: oj $ $Date: 2006/08/02 15:49:51 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -220,6 +220,12 @@
                        case TypeClass_LONG:
                                aRes = 
::rtl::OUString::valueOf(*(sal_Int32*)rValue.getValue());
                                break;
+            case TypeClass_HYPER:
+                   {
+                           sal_Int64 nValue = 0;
+                           OSL_VERIFY( rValue >>= nValue );
+                aRes = ::rtl::OUString::valueOf(nValue);
+                   }
                        case TypeClass_STRING:
                                rValue >>= aRes;
                                break;

File [changed]: dbtools.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/commontools/dbtools.cxx?r1=1.62&r2=1.62.8.1
Delta lines:  +11 -3
--------------------
--- dbtools.cxx 19 Jul 2006 15:51:24 -0000      1.62
+++ dbtools.cxx 2 Aug 2006 15:49:52 -0000       1.62.8.1
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: dbtools.cxx,v $
  *
- *  $Revision: 1.62 $
+ *  $Revision: 1.62.8.1 $
  *
- *  last change: $Author: kz $ $Date: 2006/07/19 15:51:24 $
+ *  last change: $Author: oj $ $Date: 2006/08/02 15:49:52 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -1709,6 +1709,14 @@
                case TypeClass_LONG:
                        _rxUpdatedObject->updateInt(_nColumnIndex, 
*(sal_Int32*)_rValue.getValue());
                        break;
+
+        case TypeClass_HYPER:
+               {
+                       sal_Int64 nValue = 0;
+                       OSL_VERIFY( _rValue >>= nValue );
+                       _rxUpdatedObject->updateLong( _nColumnIndex, nValue );
+               }
+               break;
 
                case TypeClass_FLOAT:
                        _rxUpdatedObject->updateFloat(_nColumnIndex, 
*(float*)_rValue.getValue());




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

Reply via email to