summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
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 );