User: kz      
Date: 2006/12/13 08:11:14

Modified:
   dba/connectivity/inc/connectivity/dbconversion.hxx

Log:
 INTEGRATION: CWS dba22ui (1.13.190); FILE MERGED
 2006/10/25 10:39:49 fs 1.13.190.1: +convertUnicodeStringToLength
 Issue number:  #i62664#
 Submitted by:  [EMAIL PROTECTED]
 Reviewed by:   [EMAIL PROTECTED]

File Changes:

Directory: /dba/connectivity/inc/connectivity/
==============================================

File [changed]: dbconversion.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/inc/connectivity/dbconversion.hxx?r1=1.13&r2=1.14
Delta lines:  +31 -0
--------------------
--- dbconversion.hxx    8 Sep 2005 05:00:55 -0000       1.13
+++ dbconversion.hxx    13 Dec 2006 16:11:08 -0000      1.14
@@ -197,6 +197,37 @@
             rtl_TextEncoding _eEncoding
         )
             SAL_THROW((::com::sun::star::sdbc::SQLException));
+
+        /** converts a Unicode string into a 8-bit string, using the given 
encoding
+
+            @param _rSource
+                the source string to convert
+
+            @param _rDest
+                the destination string
+
+            @param _nMaxLen
+                the maximum length of the destination string
+
+            @param _eEncoding
+                the encoding to use for the conversion
+
+            @throws com::sun::star::sdbc::SQLException
+                if convertUnicodeString, which is called internally, throws 
such an exception
+
+            @throws com::sun::star::sdbc::SQLException
+                if the conversion results in a string which is longer than 
_nMaxLen
+
+            @return
+                the length of the converted string
+        */
+        static sal_Int32 convertUnicodeStringToLength(
+            const ::rtl::OUString& _rSource,
+            ::rtl::OString&  _rDest,
+            sal_Int32 _nMaxLen,
+            rtl_TextEncoding _eEncoding
+       )
+            SAL_THROW((::com::sun::star::sdbc::SQLException));
        };
 
 //.........................................................................




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

Reply via email to