summaryrefslogtreecommitdiff
path: root/tools/source
diff options
context:
space:
mode:
authorjp <jp@openoffice.org>2000-09-25 17:58:44 +0000
committerjp <jp@openoffice.org>2000-09-25 17:58:44 +0000
commit786be03d55134f3a5fc0e0e1d2ac7bb734b1509d (patch)
tree431ede690c4ae79f3105264fcb536226e99fe19e /tools/source
parent9540b5f78b5f3f4ddf7fbd34eaaa19c52183d47f (diff)
Bug #78573#: _ImplCopyData - use unsigned char insted of xub_StrLen
Diffstat (limited to 'tools/source')
-rw-r--r--tools/source/string/strimp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/source/string/strimp.cxx b/tools/source/string/strimp.cxx
index 0b667f14e6c4..c17c60edf958 100644
--- a/tools/source/string/strimp.cxx
+++ b/tools/source/string/strimp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: strimp.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 17:03:09 $
+ * last change: $Author: jp $ $Date: 2000-09-25 18:58:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -291,7 +291,7 @@ inline void ImplDeleteData( STRINGDATA* pStrData )
static STRINGDATA* _ImplCopyData( STRINGDATA* pData )
{
- xub_StrLen nSize = sizeof(STRINGDATA)+(pData->mnLen*sizeof( STRCODE ));
+ unsigned int nSize = sizeof(STRINGDATA)+(pData->mnLen*sizeof( STRCODE ));
STRINGDATA* pNewData = (STRINGDATA*)rtl_allocateMemory( nSize );
memcpy( pNewData, pData, nSize );
pNewData->mnRefCount = 1;