summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-19 10:37:58 +0200
committerNoel Grandin <noel@peralex.com>2015-10-19 13:08:29 +0200
commit367105e0248c7b80b60b2554d04f5f248b4259b3 (patch)
tree81b5406455f69b6c5587e7624967273ec36137e9 /filter
parent6716ceec1c5b1a2ece26f91741253b2673e6e9e2 (diff)
cleanup some local var declarations
found with git grep -nP '(\w+)\s+=\s+\g1\(' | lots-of-hand-filtering Change-Id: I598b0cfa6607823eaef09d95e610e05145c727f7
Diffstat (limited to 'filter')
-rw-r--r--filter/source/flash/swfwriter1.cxx2
-rw-r--r--filter/source/svg/svgwriter.cxx6
2 files changed, 4 insertions, 4 deletions
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 );