diff options
Diffstat (limited to 'dtrans/source/win32/workbench/test_wincb.cxx')
-rw-r--r-- | dtrans/source/win32/workbench/test_wincb.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dtrans/source/win32/workbench/test_wincb.cxx b/dtrans/source/win32/workbench/test_wincb.cxx index 6cc69e2e706b..9839af5d7832 100644 --- a/dtrans/source/win32/workbench/test_wincb.cxx +++ b/dtrans/source/win32/workbench/test_wincb.cxx @@ -182,7 +182,7 @@ Any SAL_CALL CTransferable::getTransferData( const DataFlavor& aFlavor ) Sequence< sal_Int8 > textStream( text.getLength( ) + 1 ); - rtl_copyMemory( textStream.getArray( ), text.getStr( ), textStream.getLength( ) ); + memcpy( textStream.getArray( ), text.getStr( ), textStream.getLength( ) ); anyData = makeAny( textStream ); } |