summaryrefslogtreecommitdiff
path: root/goodies
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-09-09 10:32:08 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-09-09 10:32:08 +0000
commit3f0f3637d9ae75b4b1421d61cb202baaaacfddda (patch)
treec8283f6fc0731eb9d48f9a31bf40adbc6301d023 /goodies
parent49d1289789b81c415af6c7dc2e9e7f33f2fa5c57 (diff)
INTEGRATION: CWS ooo20040815 (1.2.234); FILE MERGED
2004/08/04 13:08:55 waratah 1.2.234.1: #i32569# remove unused variables add comments for pointer to interesting code
Diffstat (limited to 'goodies')
-rw-r--r--goodies/source/filter.vcl/icgm/class5.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/goodies/source/filter.vcl/icgm/class5.cxx b/goodies/source/filter.vcl/icgm/class5.cxx
index e28154135054..1c21d70a1b65 100644
--- a/goodies/source/filter.vcl/icgm/class5.cxx
+++ b/goodies/source/filter.vcl/icgm/class5.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: class5.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: sj $ $Date: 2000-12-15 12:26:20 $
+ * last change: $Author: hr $ $Date: 2004-09-09 11:32:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -504,15 +504,17 @@ void CGM::ImplDoClass5()
break;
case 0x7d : ComOut( CGM_UNKNOWN_LEVEL, "set Gradient Description" )
{
- long nStepDesignator = ImplGetI( pElement->nIndexPrecision );
+ ImplGetI( pElement->nIndexPrecision ); // -Wall is this needed?
sal_uInt32 nNumberOfStages = ImplGetI( pElement->nIndexPrecision );
sal_uInt32 i, nColorFrom = 0;
sal_uInt32 nColorTo = 0xffffff;
+ //FIXME, does this loop actually do anything?
for ( i = 0; i < nNumberOfStages; i++ )
{
- double aFloat = ImplGetFloat( pElement->eRealPrecision, pElement->nRealSize );
+ ImplGetFloat( pElement->eRealPrecision, pElement->nRealSize ); // -Wall is this needed
}
+
for ( i = 0; i <= nNumberOfStages; i++ )
{
sal_uInt32 nPara = mnParaSize + 24;