I forgot to mention that there are a few strange cases that are doign the same that the old code was doing:<br><br>The following code converts a sal_uIntPtr to sal_Int32:<br>+ OUString info = OUString::valueOf( static_cast<sal_Int32>( pProgrInfo->GetCurObj() ) )<br>
+ + OUString::valueOf( static_cast<sal_Int32>( pProgrInfo->GetObjCount() ) );<br>+ info = OUString::valueOf( static_cast<sal_Int32>( pProgrInfo->GetCurAction() ) )<br>+ + OUString::valueOf( static_cast<sal_Int32>( pProgrInfo->GetActionCount() ) );<br>
+ info = OUString::valueOf( static_cast<sal_Int32>( pProgrInfo->GetCurInsert() ) )<br>+ + OUString::valueOf( static_cast<sal_Int32>( pProgrInfo->GetInsertCount() ) );<br><br>The following code converts a sal_uInt32 to sal_Int32:<br>
+ rText.Append( OUString::valueOf( static_cast<sal_Int32>( nCount ) ) );<br>+ rText.Append( OUString::valueOf( static_cast<sal_Int32>( GetValue( i ).nValue ) ) );<br><br>I just converted the code to do what the old code was doing, but I find these dodgy. Should OUString be enhanced to support these types?<br>
<br>Thanks,<br>Jean-Noel<br>