summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/kde/UnxCommandThread.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/kde/UnxCommandThread.cxx b/vcl/unx/kde/UnxCommandThread.cxx
index 8daf3b14c550..b27a149799b3 100644
--- a/vcl/unx/kde/UnxCommandThread.cxx
+++ b/vcl/unx/kde/UnxCommandThread.cxx
@@ -150,7 +150,7 @@ void SAL_CALL UnxFilePickerCommandThread::run()
nBufferSize *= 2;
sal_Char *pNewBuffer = new sal_Char[nBufferSize];
if ( pEntryBegin < pBufferEnd )
- memmove( pNewBuffer, pEntryBegin, pWhereToReadEnd - pEntryBegin );
+ memcpy( pNewBuffer, pEntryBegin, pWhereToReadEnd - pEntryBegin );
delete[] pBuffer;
pBuffer = pNewBuffer;