summaryrefslogtreecommitdiffstats
path: root/filter/source/flash/swfwriter1.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/flash/swfwriter1.cxx')
-rw-r--r--filter/source/flash/swfwriter1.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/flash/swfwriter1.cxx b/filter/source/flash/swfwriter1.cxx
index 1d42bf42c560..bab56d749bc6 100644
--- a/filter/source/flash/swfwriter1.cxx
+++ b/filter/source/flash/swfwriter1.cxx
@@ -795,7 +795,7 @@ void Writer::Impl_writeImage( const BitmapEx& rBmpEx, const Point& rPt, const Si
{
BitmapEx bmpSource( rBmpEx );
- tools::Rectangle originalPixelRect = tools::Rectangle(Point(), bmpSource.GetSizePixel());
+ tools::Rectangle originalPixelRect(Point(), bmpSource.GetSizePixel());
Point srcPt( map(rPt) );
Size srcSize( map(rSz) );
@@ -816,7 +816,7 @@ void Writer::Impl_writeImage( const BitmapEx& rBmpEx, const Point& rPt, const Si
// clipping rectangle to get mapped. However, sometimes there are multiple layers
// of mapping which eventually do cause the clipping rect to be mapped.
Size clipSize( bNeedToMapClipRect ? map(rClipRect.GetSize()) : rClipRect.GetSize() );
- tools::Rectangle clipRect = tools::Rectangle(Point(), clipSize);
+ tools::Rectangle clipRect(Point(), clipSize);
destRect.Intersection( clipRect );
tools::Rectangle cropRect(destRect);