summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/fontbuff.cxx
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2001-09-24 16:39:54 +0000
committerNiklas Nebel <nn@openoffice.org>2001-09-24 16:39:54 +0000
commita1aa2ecb65c71fd77bfa5b449dae3843a2023a9e (patch)
tree7ac9f5aace43d8576848309a30b8296355fd1708 /sc/source/filter/excel/fontbuff.cxx
parent04c41c0e0b01eec115a580df5344dcf0f924ab29 (diff)
#90760# removed old ifdef VCL
Diffstat (limited to 'sc/source/filter/excel/fontbuff.cxx')
-rw-r--r--sc/source/filter/excel/fontbuff.cxx15
1 files changed, 2 insertions, 13 deletions
diff --git a/sc/source/filter/excel/fontbuff.cxx b/sc/source/filter/excel/fontbuff.cxx
index 107350f187e8..679194871327 100644
--- a/sc/source/filter/excel/fontbuff.cxx
+++ b/sc/source/filter/excel/fontbuff.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: fontbuff.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: gt $ $Date: 2001-08-13 10:53:10 $
+ * last change: $Author: nn $ $Date: 2001-09-24 17:39:16 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -213,10 +213,6 @@ static const ColBuffEntry pDefArrayBiff8[] = {
};
-#ifndef VCL
-const UINT16 ColorBuffer::nColCorrect = 257;
-#endif
-
const UINT16 ColorBuffer::nIndCorrect = 8;
const UINT16 LotusFontBuffer::nSize = 8;
@@ -269,14 +265,7 @@ BOOL ColorBuffer::NewColor( UINT16 nR, UINT16 nG, UINT16 nB )
{
if( nCount < nMax )
{
-#ifdef VCL
pArray[ nCount ] = new SvxColorItem( Color( ( UINT8 ) nR, ( UINT8 ) nG, ( UINT8 ) nB) );
-#else
- pArray[ nCount ] = new SvxColorItem( Color(
- nR * nColCorrect,
- nG * nColCorrect,
- nB * nColCorrect ) );
-#endif
nCount++;
return TRUE;
}