User: obo     
Date: 2006/10/12 06:32:30

Modified:
   dba/dbaccess/source/core/misc/propertybag.cxx

Log:
 INTEGRATION: CWS sb59 (1.2.2); FILE MERGED
 2006/08/29 11:44:24 sb 1.2.2.1: #i67487# Made code warning-free (wntmsci10).

File Changes:

Directory: /dba/dbaccess/source/core/misc/
==========================================

File [changed]: propertybag.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/misc/propertybag.cxx?r1=1.3&r2=1.4
Delta lines:  +3 -3
-------------------
--- propertybag.cxx     17 Sep 2006 06:42:15 -0000      1.3
+++ propertybag.cxx     12 Oct 2006 13:32:28 -0000      1.4
@@ -155,12 +155,12 @@
         for ( ; pArguments != pArgumentsEnd; ++pArguments )
         {
             if ( !( *pArguments >>= aValue ) )
-                throw IllegalArgumentException( ::rtl::OUString(), *this, 
pArguments - _rArguments.getConstArray() );
+                throw IllegalArgumentException( ::rtl::OUString(), *this, 
sal::static_int_cast< sal_Int16 >( pArguments - _rArguments.getConstArray() ) );
             if ( aValue.Name.equalsAscii( "AllowedTypes" ) )
             {
                 Sequence< Type > aTypes;
                 if ( !( aValue.Value >>= aTypes ) )
-                    throw IllegalArgumentException( ::rtl::OUString(), *this, 
pArguments - _rArguments.getConstArray() );
+                    throw IllegalArgumentException( ::rtl::OUString(), *this, 
sal::static_int_cast< sal_Int16 >( pArguments - _rArguments.getConstArray() ) );
 
                 ::std::for_each( 
                     aTypes.getConstArray(),
@@ -172,7 +172,7 @@
             if ( aValue.Name.equalsAscii( "AutomaticAddition" ) )
             {
                 if ( !( aValue.Value >>= m_bAutoAddProperties ) )
-                    throw IllegalArgumentException( ::rtl::OUString(), *this, 
pArguments - _rArguments.getConstArray() );
+                    throw IllegalArgumentException( ::rtl::OUString(), *this, 
sal::static_int_cast< sal_Int16 >( pArguments - _rArguments.getConstArray() ) );
                 continue;
             }
 




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

Reply via email to