From 367105e0248c7b80b60b2554d04f5f248b4259b3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 19 Oct 2015 10:37:58 +0200 Subject: cleanup some local var declarations found with git grep -nP '(\w+)\s+=\s+\g1\(' | lots-of-hand-filtering Change-Id: I598b0cfa6607823eaef09d95e610e05145c727f7 --- filter/source/flash/swfwriter1.cxx | 2 +- filter/source/svg/svgwriter.cxx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'filter') diff --git a/filter/source/flash/swfwriter1.cxx b/filter/source/flash/swfwriter1.cxx index ac7f94dfed62..996db16554f6 100644 --- a/filter/source/flash/swfwriter1.cxx +++ b/filter/source/flash/swfwriter1.cxx @@ -450,7 +450,7 @@ void Writer::Impl_writeText( const Point& rPos, const OUString& rText, const lon nOff += 6; Color aTextColor( mpVDev->GetTextColor() ); - Color aShadowColor = Color( COL_BLACK ); + Color aShadowColor( COL_BLACK ); if ( (aTextColor.GetColor() == COL_BLACK) || (aTextColor.GetLuminance() < 8) ) aShadowColor = Color( COL_LIGHTGRAY ); diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx index 249791e4c440..44cdef2b656b 100644 --- a/filter/source/svg/svgwriter.cxx +++ b/filter/source/svg/svgwriter.cxx @@ -2360,7 +2360,7 @@ void SVGActionWriter::ImplWriteText( const Point& rPos, const OUString& rText, nOff += 6; Color aTextColor( mpVDev->GetTextColor() ); - Color aShadowColor = Color( COL_BLACK ); + Color aShadowColor( COL_BLACK ); if ( (aTextColor.GetColor() == COL_BLACK) || (aTextColor.GetLuminance() < 8) ) aShadowColor = Color( COL_LIGHTGRAY ); @@ -2591,8 +2591,8 @@ void SVGActionWriter::ImplWriteBmp( const BitmapEx& rBmpEx, { if( !!rBmpEx ) { - BitmapEx aBmpEx( rBmpEx ); - Point aPoint = Point(); + BitmapEx aBmpEx( rBmpEx ); + Point aPoint; const Rectangle aBmpRect( aPoint, rBmpEx.GetSizePixel() ); const Rectangle aSrcRect( rSrcPt, rSrcSz ); -- cgit