From 740617901dc2e7a1effd211c755ea9d00b32094b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 14 Oct 2014 15:00:31 +0100 Subject: stray ;s all other the place Change-Id: If67bf3361e082c1321f42ae7717cc941dc96e74b --- filter/source/graphicfilter/icgm/actimpr.cxx | 67 +++++++--------------------- filter/source/graphicfilter/icgm/outact.cxx | 27 +---------- 2 files changed, 18 insertions(+), 76 deletions(-) (limited to 'filter') diff --git a/filter/source/graphicfilter/icgm/actimpr.cxx b/filter/source/graphicfilter/icgm/actimpr.cxx index ad03946f9545..03df39438086 100644 --- a/filter/source/graphicfilter/icgm/actimpr.cxx +++ b/filter/source/graphicfilter/icgm/actimpr.cxx @@ -74,9 +74,7 @@ CGMImpressOutAct::CGMImpressOutAct( CGM& rCGM, const uno::Reference< frame::XMod } mpCGM->mbStatus = bStatRet; } -}; - - +} bool CGMImpressOutAct::ImplInitPage() { @@ -176,9 +174,7 @@ void CGMImpressOutAct::ImplSetLineBundle() aAny <<= aLineDash; maXPropSet->setPropertyValue( "LineDash", aAny ); } -}; - - +} void CGMImpressOutAct::ImplSetFillBundle() { @@ -343,9 +339,7 @@ void CGMImpressOutAct::ImplSetFillBundle() aAny <<= aHatch; maXPropSet->setPropertyValue( "FillHatch", aAny ); } -}; - - +} void CGMImpressOutAct::ImplSetTextBundle( const uno::Reference< beans::XPropertySet > & rProperty ) { @@ -387,9 +381,7 @@ void CGMImpressOutAct::ImplSetTextBundle( const uno::Reference< beans::XProperty } aAny <<= aFontDescriptor; rProperty->setPropertyValue( "FontDescriptor", aAny ); -}; - - +} void CGMImpressOutAct::InsertPage() { @@ -401,9 +393,7 @@ void CGMImpressOutAct::InsertPage() mpCGM->mbStatus = false; } mnCurrentPage++; -}; - - +} void CGMImpressOutAct::BeginGroup() { @@ -413,9 +403,7 @@ void CGMImpressOutAct::BeginGroup() } mnGroupLevel++; mnGroupActCount = mpCGM->mnActCount; -}; - - +} void CGMImpressOutAct::EndGroup() { @@ -446,9 +434,7 @@ void CGMImpressOutAct::EndGroup() } } } -}; - - +} void CGMImpressOutAct::EndGrouping() { @@ -458,8 +444,6 @@ void CGMImpressOutAct::EndGrouping() } } - - void CGMImpressOutAct::DrawRectangle( FloatRect& rFloatRect ) { if ( mnGroupActCount != ( mpCGM->mnActCount - 1 ) ) // POWERPOINT HACK !!! @@ -472,9 +456,7 @@ void CGMImpressOutAct::DrawRectangle( FloatRect& rFloatRect ) ImplSetFillBundle(); } } -}; - - +} void CGMImpressOutAct::DrawEllipse( FloatPoint& rCenter, FloatPoint& rSize, double& rOrientation ) { @@ -499,9 +481,7 @@ void CGMImpressOutAct::DrawEllipse( FloatPoint& rCenter, FloatPoint& rSize, doub } ImplSetFillBundle(); } -}; - - +} void CGMImpressOutAct::DrawEllipticalArc( FloatPoint& rCenter, FloatPoint& rSize, double& rOrientation, sal_uInt32 nType, double& fStartAngle, double& fEndAngle ) @@ -572,9 +552,7 @@ void CGMImpressOutAct::DrawEllipticalArc( FloatPoint& rCenter, FloatPoint& rSize } } } -}; - - +} void CGMImpressOutAct::DrawBitmap( CGMBitmapDescriptor* pBmpDesc ) { @@ -613,9 +591,7 @@ void CGMImpressOutAct::DrawBitmap( CGMBitmapDescriptor* pBmpDesc ) } } -}; - - +} void CGMImpressOutAct::DrawPolygon( Polygon& rPoly ) { @@ -645,10 +621,7 @@ void CGMImpressOutAct::DrawPolygon( Polygon& rPoly ) maXPropSet->setPropertyValue( "PolyPolygon", aParam ); ImplSetFillBundle(); } -}; - - - +} void CGMImpressOutAct::DrawPolyLine( Polygon& rPoly ) { @@ -678,9 +651,7 @@ void CGMImpressOutAct::DrawPolyLine( Polygon& rPoly ) maXPropSet->setPropertyValue( "PolyPolygon", aParam ); ImplSetLineBundle(); } -}; - - +} void CGMImpressOutAct::DrawPolybezier( Polygon& rPolygon ) { @@ -713,9 +684,7 @@ void CGMImpressOutAct::DrawPolybezier( Polygon& rPolygon ) maXPropSet->setPropertyValue( "PolyPolygonBezier", aParam ); ImplSetLineBundle(); } -}; - - +} void CGMImpressOutAct::DrawPolyPolygon( tools::PolyPolygon& rPolyPolygon ) { @@ -758,9 +727,7 @@ void CGMImpressOutAct::DrawPolyPolygon( tools::PolyPolygon& rPolyPolygon ) maXPropSet->setPropertyValue( "PolyPolygonBezier", aParam); ImplSetFillBundle(); } -}; - - +} void CGMImpressOutAct::DrawText( awt::Point& rTextPos, awt::Size& rTextSize, char* pString, sal_uInt32 /*nSize*/, FinalFlag eFlag ) { @@ -907,9 +874,7 @@ void CGMImpressOutAct::DrawText( awt::Point& rTextPos, awt::Size& rTextSize, cha nFinalTextCount = maXShapes->getCount(); } } -}; - - +} void CGMImpressOutAct::AppendText( char* pString, sal_uInt32 /*nSize*/, FinalFlag /*eFlag*/ ) { diff --git a/filter/source/graphicfilter/icgm/outact.cxx b/filter/source/graphicfilter/icgm/outact.cxx index f7394dfdc3f1..7d09983a8906 100644 --- a/filter/source/graphicfilter/icgm/outact.cxx +++ b/filter/source/graphicfilter/icgm/outact.cxx @@ -23,8 +23,6 @@ using namespace ::com::sun::star; - - CGMOutAct::CGMOutAct( CGM& rCGM ) { mpCGM = &rCGM; @@ -36,9 +34,7 @@ CGMOutAct::CGMOutAct( CGM& rCGM ) mnIndex = 0; mpGradient = NULL; -}; - - +} CGMOutAct::~CGMOutAct() { @@ -48,9 +44,7 @@ CGMOutAct::~CGMOutAct() if ( mpGradient ) delete mpGradient; -}; - - +} void CGMOutAct::BeginFigure() { @@ -61,8 +55,6 @@ void CGMOutAct::BeginFigure() mnIndex = 0; } - - void CGMOutAct::CloseRegion() { if ( mnIndex > 2 ) @@ -73,8 +65,6 @@ void CGMOutAct::CloseRegion() } } - - void CGMOutAct::NewRegion() { if ( mnIndex > 2 ) @@ -85,8 +75,6 @@ void CGMOutAct::NewRegion() mnIndex = 0; } - - void CGMOutAct::EndFigure() { NewRegion(); @@ -96,8 +84,6 @@ void CGMOutAct::EndFigure() mnIndex = 0; } - - void CGMOutAct::RegPolyLine( Polygon& rPolygon, bool bReverse ) { sal_uInt16 nPoints = rPolygon.GetSize(); @@ -123,8 +109,6 @@ void CGMOutAct::RegPolyLine( Polygon& rPolygon, bool bReverse ) } } - - void CGMOutAct::SetGradientOffset( long nHorzOfs, long nVertOfs, sal_uInt32 /*nType*/ ) { if ( !mpGradient ) @@ -133,8 +117,6 @@ void CGMOutAct::SetGradientOffset( long nHorzOfs, long nVertOfs, sal_uInt32 /*nT mpGradient->YOffset = ( (sal_uInt16)nVertOfs & 0x7f ); } - - void CGMOutAct::SetGradientAngle( long nAngle ) { if ( !mpGradient ) @@ -142,8 +124,6 @@ void CGMOutAct::SetGradientAngle( long nAngle ) mpGradient->Angle = sal::static_int_cast< sal_Int16 >(nAngle); } - - void CGMOutAct::SetGradientDescriptor( sal_uInt32 nColorFrom, sal_uInt32 nColorTo ) { if ( !mpGradient ) @@ -152,8 +132,6 @@ void CGMOutAct::SetGradientDescriptor( sal_uInt32 nColorFrom, sal_uInt32 nColorT mpGradient->EndColor = nColorTo; } - - void CGMOutAct::SetGradientStyle( sal_uInt32 nStyle, double /*fRatio*/ ) { if ( !mpGradient ) @@ -187,5 +165,4 @@ void CGMOutAct::SetGradientStyle( sal_uInt32 nStyle, double /*fRatio*/ ) } } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit v1.2.3