summaryrefslogtreecommitdiff
path: root/goodies
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-11-26 16:05:36 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-11-26 16:05:36 +0000
commite3db56c862d9e4940926922f7dd7207e3665ecec (patch)
tree5c26e603402349b052ced015eb154dff7a17ac41 /goodies
parent0d28b97ded935bbdd5eed9f7074cd01fbc939500 (diff)
INTEGRATION: CWS impress134 (1.8.104); FILE MERGED
2007/10/31 15:42:37 sj 1.8.104.1: #i81120# added patch (signed/unsigned issue)
Diffstat (limited to 'goodies')
-rw-r--r--goodies/source/filter.vcl/expm/expm.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/goodies/source/filter.vcl/expm/expm.cxx b/goodies/source/filter.vcl/expm/expm.cxx
index f93b8b803416..7e5d4dcada51 100644
--- a/goodies/source/filter.vcl/expm/expm.cxx
+++ b/goodies/source/filter.vcl/expm/expm.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: expm.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: ihi $ $Date: 2006-11-14 16:12:59 $
+ * last change: $Author: ihi $ $Date: 2007-11-26 17:05:36 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -256,7 +256,7 @@ void XPMWriter::ImplWriteColor( USHORT nNumber )
*mpOStm << "c #"; // # zeigt einen folgenden Hexwert an
const BitmapColor& rColor = mpAcc->GetPaletteColor( nNumber );
nTmp = ( rColor.GetRed() << 16 ) | ( rColor.GetGreen() << 8 ) | rColor.GetBlue();
- for ( char i = 20; i >= 0 ; i-=4 )
+ for ( signed char i = 20; i >= 0 ; i-=4 )
{
if ( ( j = (BYTE)( nTmp >> i ) & 0xf ) > 9 )
j += 'A' - 10;