summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-05 13:12:36 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-05 13:12:36 +0000
commit4a47b92e99cd8218f2fe73afd836610e44c86c0a (patch)
tree3fa319c5cf9ebf5101038b92def66bbbee8cd620
parent589e8b2dbeb8f86d7ad3952670780f6a26f66346 (diff)
stray ; at the end of inlines
-rw-r--r--svtools/source/filter.vcl/wmf/winmtf.hxx65
1 files changed, 34 insertions, 31 deletions
diff --git a/svtools/source/filter.vcl/wmf/winmtf.hxx b/svtools/source/filter.vcl/wmf/winmtf.hxx
index db9d44aca0f5..a53c01b6270a 100644
--- a/svtools/source/filter.vcl/wmf/winmtf.hxx
+++ b/svtools/source/filter.vcl/wmf/winmtf.hxx
@@ -365,31 +365,32 @@ struct WinMtfFillStyle
WinMtfFillStyleType aType;
Bitmap aBmp;
- WinMtfFillStyle() :
- aFillColor ( Color( COL_BLACK ) ),
- bTransparent( FALSE )
+ WinMtfFillStyle()
+ : aFillColor(Color(COL_BLACK))
+ , bTransparent(FALSE)
+ , aType(FillStyleSolid)
{
- };
+ }
- WinMtfFillStyle( const Color& rColor, BOOL bTrans = FALSE ) :
- aFillColor ( rColor ),
- bTransparent( bTrans ),
- aType ( FillStyleSolid )
+ WinMtfFillStyle( const Color& rColor, BOOL bTrans = FALSE )
+ : aFillColor(rColor)
+ , bTransparent(bTrans)
+ , aType(FillStyleSolid)
{
- };
+ }
- WinMtfFillStyle( Bitmap& rBmp ) :
- aType( FillStylePattern ),
- aBmp ( rBmp )
+ WinMtfFillStyle(Bitmap& rBmp)
+ : aType(FillStylePattern)
+ , aBmp(rBmp)
{
- };
+ }
BOOL operator==( const WinMtfFillStyle& rStyle )
- { return ( ( aFillColor == rStyle.aFillColor ) && ( bTransparent == rStyle.bTransparent ) && ( aType == rStyle.aType ) ); };
+ { return ( ( aFillColor == rStyle.aFillColor ) && ( bTransparent == rStyle.bTransparent ) && ( aType == rStyle.aType ) ); }
BOOL operator==( WinMtfFillStyle* pStyle )
- { return ( ( aFillColor == pStyle->aFillColor ) && ( bTransparent == pStyle->bTransparent ) && ( aType == pStyle->aType ) ); };
- void operator=( const WinMtfFillStyle& rStyle ) { aFillColor = rStyle.aFillColor; bTransparent = rStyle.bTransparent; aBmp = rStyle.aBmp; aType = rStyle.aType; };
- void operator=( WinMtfFillStyle* pStyle ) { aFillColor = pStyle->aFillColor; bTransparent = pStyle->bTransparent; aBmp = pStyle->aBmp; aType = pStyle->aType; };
+ { return ( ( aFillColor == pStyle->aFillColor ) && ( bTransparent == pStyle->bTransparent ) && ( aType == pStyle->aType ) ); }
+ void operator=( const WinMtfFillStyle& rStyle ) { aFillColor = rStyle.aFillColor; bTransparent = rStyle.bTransparent; aBmp = rStyle.aBmp; aType = rStyle.aType; }
+ void operator=( WinMtfFillStyle* pStyle ) { aFillColor = pStyle->aFillColor; bTransparent = pStyle->bTransparent; aBmp = pStyle->aBmp; aType = pStyle->aType; }
};
// -----------------------------------------------------------------------------
@@ -402,32 +403,32 @@ struct WinMtfLineStyle
WinMtfLineStyle() :
aLineColor ( COL_BLACK ),
- bTransparent( FALSE ) {};
+ bTransparent( FALSE ) {}
WinMtfLineStyle( const Color& rColor, BOOL bTrans = FALSE ) :
aLineColor ( rColor ),
- bTransparent( bTrans ) {};
+ bTransparent( bTrans ) {}
WinMtfLineStyle( const Color& rColor, const LineInfo rStyle, BOOL bTrans = FALSE ) :
aLineColor ( rColor ),
aLineInfo ( rStyle ),
- bTransparent( bTrans ) {};
+ bTransparent( bTrans ) {}
- BOOL operator==( const WinMtfLineStyle& rStyle ) { return ( ( aLineColor == rStyle.aLineColor ) && ( bTransparent == rStyle.bTransparent ) && ( aLineInfo == rStyle.aLineInfo ) ); };
- BOOL operator==( WinMtfLineStyle* pStyle ) { return ( ( aLineColor == pStyle->aLineColor ) && ( bTransparent == pStyle->bTransparent ) && ( aLineInfo == pStyle->aLineInfo ) ); };
+ BOOL operator==( const WinMtfLineStyle& rStyle ) { return ( ( aLineColor == rStyle.aLineColor ) && ( bTransparent == rStyle.bTransparent ) && ( aLineInfo == rStyle.aLineInfo ) ); }
+ BOOL operator==( WinMtfLineStyle* pStyle ) { return ( ( aLineColor == pStyle->aLineColor ) && ( bTransparent == pStyle->bTransparent ) && ( aLineInfo == pStyle->aLineInfo ) ); }
void operator=( const WinMtfLineStyle& rStyle )
{
aLineColor = rStyle.aLineColor;
bTransparent = rStyle.bTransparent;
aLineInfo = rStyle.aLineInfo;
- };
+ }
void operator=( WinMtfLineStyle* pStyle )
{
aLineColor = pStyle->aLineColor;
bTransparent = pStyle->bTransparent;
aLineInfo = pStyle->aLineInfo;
- };
+ }
};
// -----------------------------------------------------------------------------
@@ -444,7 +445,7 @@ struct XForm
{
eM11 = eM22 = 1.0f;
eDx = eDy = eM12 = eM21 = 0.0f;
- };
+ }
friend SvStream& operator>>( SvStream& rIn, XForm& rXForm );
};
@@ -487,7 +488,7 @@ struct BSaveStruct
WinMtfFillStyle aStyle;
BSaveStruct( const Bitmap& rBmp, const Rectangle& rOutRect, UINT32 nRop, WinMtfFillStyle& rStyle ) :
- aBmp( rBmp ), aOutRect( rOutRect ), nWinRop( nRop ), aStyle ( rStyle ){};
+ aBmp( rBmp ), aOutRect( rOutRect ), nWinRop( nRop ), aStyle ( rStyle ){}
};
// -----------------------------------------------------------------------------
@@ -503,10 +504,10 @@ struct GDIObj
pStyle ( NULL ),
eType ( GDI_DUMMY )
{
- };
+ }
- GDIObj( GDIObjectType eT, void* pS ) { pStyle = pS; eType = eT; };
- void Set( GDIObjectType eT, void* pS ) { pStyle = pS; eType = eT; };
+ GDIObj( GDIObjectType eT, void* pS ) { pStyle = pS; eType = eT; }
+ void Set( GDIObjectType eT, void* pS ) { pStyle = pS; eType = eT; }
void Delete()
{
if ( pStyle )
@@ -529,7 +530,7 @@ struct GDIObj
}
pStyle = NULL;
}
- };
+ }
~GDIObj()
{
@@ -778,7 +779,9 @@ private:
public:
WMFReader( SvStream& rStreamWMF, GDIMetaFile& rGDIMetaFile, FilterConfigItem* pConfigItem = NULL )
- : WinMtf( new WinMtfOutput( rGDIMetaFile ), rStreamWMF, pConfigItem ) {};
+ : WinMtf( new WinMtfOutput( rGDIMetaFile ), rStreamWMF, pConfigItem )
+ , pEMFStream(NULL)
+ {}
~WMFReader();