Kaydet (Commit) 064ef013 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

OUString::replaceAt() does not modify in-place

Change-Id: I59ebf6dc5bc75f8ded82b19dbc736a6aae48e74b
üst 07ab53c0
...@@ -1351,8 +1351,8 @@ void CopyTableWizard::impl_copyRows_throw( const Reference< XResultSet >& _rxSou ...@@ -1351,8 +1351,8 @@ void CopyTableWizard::impl_copyRows_throw( const Reference< XResultSet >& _rxSou
{ {
::rtl::OUString aMessage( String( ModuleRes( STR_CTW_UNSUPPORTED_COLUMN_TYPE ) ) ); ::rtl::OUString aMessage( String( ModuleRes( STR_CTW_UNSUPPORTED_COLUMN_TYPE ) ) );
aMessage.replaceAt( aMessage.indexOfAsciiL( "$type$", 6 ), 6, ::rtl::OUString::valueOf( aSourceColTypes[ nSourceColumn ] ) ); aMessage = aMessage.replaceAt( aMessage.indexOfAsciiL( "$type$", 6 ), 6, ::rtl::OUString::valueOf( aSourceColTypes[ nSourceColumn ] ) );
aMessage.replaceAt( aMessage.indexOfAsciiL( "$pos$", 5 ), 5, ::rtl::OUString::valueOf( nSourceColumn ) ); aMessage = aMessage.replaceAt( aMessage.indexOfAsciiL( "$pos$", 5 ), 5, ::rtl::OUString::valueOf( nSourceColumn ) );
::dbtools::throwSQLException( ::dbtools::throwSQLException(
aMessage, aMessage,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment