diff options
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/graphicfilter/ipsd/ipsd.cxx | 3 | ||||
-rw-r--r-- | filter/source/msfilter/eschesdo.cxx | 4 | ||||
-rw-r--r-- | filter/source/msfilter/msdffimp.cxx | 3 | ||||
-rw-r--r-- | filter/source/pdf/pdfexport.cxx | 3 | ||||
-rw-r--r-- | filter/source/svg/svgwriter.cxx | 3 |
5 files changed, 5 insertions, 11 deletions
diff --git a/filter/source/graphicfilter/ipsd/ipsd.cxx b/filter/source/graphicfilter/ipsd/ipsd.cxx index d962f603c50d..8510ee9b583e 100644 --- a/filter/source/graphicfilter/ipsd/ipsd.cxx +++ b/filter/source/graphicfilter/ipsd/ipsd.cxx @@ -138,10 +138,9 @@ bool PSDReader::ReadPSD(Graphic & rGraphic ) if ( mnXResFixed && mnYResFixed ) { - Point aEmptyPoint; Fraction aFractX( 1, mnXResFixed >> 16 ); Fraction aFractY( 1, mnYResFixed >> 16 ); - MapMode aMapMode( MapUnit::MapInch, aEmptyPoint, aFractX, aFractY ); + MapMode aMapMode( MapUnit::MapInch, Point(), aFractX, aFractY ); Size aPrefSize = OutputDevice::LogicToLogic(aBitmapSize, aMapMode, MapMode(MapUnit::Map100thMM)); rGraphic.SetPrefSize( aPrefSize ); rGraphic.SetPrefMapMode( MapMode( MapUnit::Map100thMM ) ); diff --git a/filter/source/msfilter/eschesdo.cxx b/filter/source/msfilter/eschesdo.cxx index 1fb1f5a91472..35e72efc6725 100644 --- a/filter/source/msfilter/eschesdo.cxx +++ b/filter/source/msfilter/eschesdo.cxx @@ -196,8 +196,6 @@ sal_uInt32 ImplEESdrWriter::ImplWriteShape( ImplEESdrObject& rObj, } } - Point aTextRefPoint; - if( rObj.GetType() == "drawing.Group" ) { Reference< XIndexAccess > xXIndexAccess( rObj.GetShapeRef(), UNO_QUERY ); @@ -700,7 +698,7 @@ sal_uInt32 ImplEESdrWriter::ImplWriteShape( ImplEESdrObject& rObj, if( bAdditionalText ) { mpEscherEx->EndShape( nShapeType, nShapeID ); - ImplWriteAdditionalText( rObj, aTextRefPoint ); + ImplWriteAdditionalText( rObj, Point() ); } } while ( false ); diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx index da4b6d4258ac..3ffae20be7dc 100644 --- a/filter/source/msfilter/msdffimp.cxx +++ b/filter/source/msfilter/msdffimp.cxx @@ -2558,9 +2558,8 @@ void DffPropertyReader::ApplyCustomShapeGeometryAttributes( SvStream& rIn, SfxIt void DffPropertyReader::ApplyAttributes( SvStream& rIn, SfxItemSet& rSet ) const { - tools::Rectangle aEmptyRect; DffRecordHeader aHdTemp; - DffObjData aDffObjTemp( aHdTemp, aEmptyRect, 0 ); + DffObjData aDffObjTemp( aHdTemp, tools::Rectangle(), 0 ); ApplyAttributes( rIn, rSet, aDffObjTemp ); } diff --git a/filter/source/pdf/pdfexport.cxx b/filter/source/pdf/pdfexport.cxx index ca454bbd65f7..ab7457350f85 100644 --- a/filter/source/pdf/pdfexport.cxx +++ b/filter/source/pdf/pdfexport.cxx @@ -1007,8 +1007,7 @@ bool PDFExport::ImplExportPage( vcl::PDFWriter& rWriter, vcl::PDFExtOutDevData& basegfx::B2DPolygon aSize(tools::Polygon(tools::Rectangle(Point(0, 0), rMtf.GetPrefSize())).getB2DPolygon()); basegfx::B2DPolygon aSizePDF(OutputDevice::LogicToLogic(aSize, rMtf.GetPrefMapMode(), MapMode(MapUnit::MapPoint))); basegfx::B2DRange aRangePDF(aSizePDF.getB2DRange()); - Point aOrigin; - tools::Rectangle aPageRect( aOrigin, rMtf.GetPrefSize() ); + tools::Rectangle aPageRect( Point(), rMtf.GetPrefSize() ); rWriter.NewPage( aRangePDF.getWidth(), aRangePDF.getHeight() ); rWriter.SetMapMode( rMtf.GetPrefMapMode() ); diff --git a/filter/source/svg/svgwriter.cxx b/filter/source/svg/svgwriter.cxx index a080e1c6a1f6..b22910df87c1 100644 --- a/filter/source/svg/svgwriter.cxx +++ b/filter/source/svg/svgwriter.cxx @@ -2714,8 +2714,7 @@ void SVGActionWriter::ImplWriteBmp( const BitmapEx& rBmpEx, if( !!rBmpEx ) { BitmapEx aBmpEx( rBmpEx ); - Point aPoint; - const tools::Rectangle aBmpRect( aPoint, rBmpEx.GetSizePixel() ); + const tools::Rectangle aBmpRect( Point(), rBmpEx.GetSizePixel() ); const tools::Rectangle aSrcRect( rSrcPt, rSrcSz ); if( aSrcRect != aBmpRect ) |