summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 04:54:39 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 04:54:39 +0000
commit80a1f8edf7865ab8bf013275f0dcbf3f2bd97a5c (patch)
treea8d544afe76ee120692e7a0d0a7c869c8efb55a8 /sot
parentbce61b05fbc8872c4f17593b587900f168ada340 (diff)
INTEGRATION: CWS warnings01 (1.7.10); FILE MERGED
2006/04/06 14:23:14 cd 1.7.10.2: #55991# Make warning free for MSVC compiler 2005/10/21 16:25:11 pl 1.7.10.1: #i55991# removed warnings for linux platform
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/stgelem.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/sot/source/sdstor/stgelem.cxx b/sot/source/sdstor/stgelem.cxx
index 9aaf17497aec..158368dfa8d6 100644
--- a/sot/source/sdstor/stgelem.cxx
+++ b/sot/source/sdstor/stgelem.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: stgelem.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 07:41:44 $
+ * last change: $Author: hr $ $Date: 2006-06-20 05:54:39 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -44,8 +44,6 @@
#include "stgdir.hxx"
#include "stgio.hxx"
-#pragma hdrstop
-
static BYTE cStgSignature[ 8 ] = { 0xD0,0xCF,0x11,0xE0,0xA1,0xB1,0x1A,0xE1 };
////////////////////////////// struct ClsId /////////////////////////////
@@ -287,7 +285,7 @@ BOOL StgEntry::SetName( const String& rName )
int i;
for( i = 0; i < aName.Len() && i < 32; i++ )
- nName[ i ] = rName.GetChar( i );
+ nName[ i ] = rName.GetChar( sal_uInt16( i ));
while( i < 32 )
nName[ i++ ] = 0;
nNameLen = ( aName.Len() + 1 ) << 1;