summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/gdimtf.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2004-01-06 12:38:14 +0000
committerVladimir Glazounov <vg@openoffice.org>2004-01-06 12:38:14 +0000
commitce90bec06f136a186d6ecec141c8d0eb668841e5 (patch)
tree5829c5d5f84b731471c63f42931f756e7eeb4e08 /vcl/source/gdi/gdimtf.cxx
parentdce0ed52b1970c51338b39a8e873b63be7b58e0a (diff)
INTEGRATION: CWS vclcleanup02 (1.9.340); FILE MERGED
2003/12/17 16:04:21 mt 1.9.340.3: #i23061# header cleanup, remove #ifdef ???_CXX and #define ???_CXX, also removed .impl files and fixed soke windows compiler warnings 2003/12/10 15:59:22 mt 1.9.340.2: #i23061# VCL cleanup, removed headers, methods and types... 2003/12/05 13:22:25 mt 1.9.340.1: #i23061# Code cleanups, fixed gcc WAll warnings
Diffstat (limited to 'vcl/source/gdi/gdimtf.cxx')
-rw-r--r--vcl/source/gdi/gdimtf.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/vcl/source/gdi/gdimtf.cxx b/vcl/source/gdi/gdimtf.cxx
index fb38ce00260f..9c71cf7b84ee 100644
--- a/vcl/source/gdi/gdimtf.cxx
+++ b/vcl/source/gdi/gdimtf.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: gdimtf.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: thb $ $Date: 2002-11-18 13:44:33 $
+ * last change: $Author: vg $ $Date: 2004-01-06 13:38:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -59,8 +59,6 @@
*
************************************************************************/
-#define _SV_GDIMTF_CXX
-
#ifndef _VOS_MACROS_HXX_
#include <vos/macros.hxx>
#endif
@@ -1174,8 +1172,6 @@ void GDIMetaFile::Rotate( long nAngle10 )
case( META_GRADIENTEX_ACTION ):
{
MetaGradientExAction* pAct = (MetaGradientExAction*) pAction;
- Gradient aGradient( );
-
aMtf.AddAction( new MetaGradientExAction( ImplGetRotatedPolyPolygon( pAct->GetPolyPolygon(), aRotAnchor, aRotOffset, fSin, fCos ),
pAct->GetGradient() ) );
}
@@ -2178,7 +2174,6 @@ SvStream& operator>>( SvStream& rIStm, GDIMetaFile& rGDIMetaFile )
char aId[ 7 ];
ULONG nStmPos = rIStm.Tell();
USHORT nOldFormat = rIStm.GetNumberFormatInt();
- BOOL bError = FALSE;
rIStm.SetNumberFormatInt( NUMBERFORMAT_INT_LITTLEENDIAN );