diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-07-17 17:00:14 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-07-18 08:23:28 +0200 |
commit | 4dd7c0369d66aa7b30f2b9e547faa5fb2c7cd8dd (patch) | |
tree | b3497428d040c18b167938fcc89f1e034ebafd45 /filter | |
parent | 7dde426915ebbb7ea2ca3dc661f0a9ac70a26d5c (diff) |
Various Clang 3.1 -Wunsued-variable, -Wconstant-conversion
Change-Id: I0799f22685609201dfb524c373d065b6184ed53c
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/flash/swfexporter.cxx | 5 | ||||
-rw-r--r-- | filter/source/flash/swfwriter1.cxx | 4 | ||||
-rw-r--r-- | filter/source/msfilter/svdfppt.cxx | 1 |
3 files changed, 1 insertions, 9 deletions
diff --git a/filter/source/flash/swfexporter.cxx b/filter/source/flash/swfexporter.cxx index 5b9dbcdd2b56..e178f269ccba 100644 --- a/filter/source/flash/swfexporter.cxx +++ b/filter/source/flash/swfexporter.cxx @@ -571,10 +571,7 @@ void FlashExporter::exportShape( Reference< XShape >& xShape, bool bMaster ) try { - com::sun::star::awt::Point aPosition( xShape->getPosition() ); - com::sun::star::awt::Size aSize( xShape->getSize() ); - - com::sun::star::awt::Rectangle aBoundRect;//(aPosition.X, aPosition.Y, aSize.Width, aSize.Height); + com::sun::star::awt::Rectangle aBoundRect; xPropSet->getPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM("BoundRect") ) ) >>= aBoundRect; ShapeInfo* pShapeInfo = new ShapeInfo(); diff --git a/filter/source/flash/swfwriter1.cxx b/filter/source/flash/swfwriter1.cxx index 0bff4ba87df7..1352508f5835 100644 --- a/filter/source/flash/swfwriter1.cxx +++ b/filter/source/flash/swfwriter1.cxx @@ -1202,12 +1202,8 @@ bool Writer::Impl_writeStroke( SvtGraphicStroke& rStroke ) rStroke.getPath( aPolygon ); PolyPolygon aPolyPolygon( aPolygon ); - Rectangle aOldRect( aPolyPolygon.GetBoundRect() ); - map( aPolyPolygon ); - Rectangle aNewRect( aPolyPolygon.GetBoundRect() ); - // as log as not LINESTYLE2 and DefineShape4 is used (which // added support for LineJoin), only round LineJoins are // supported. Fallback to META_POLYLINE_ACTION and META_LINE_ACTION diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx index 5575ef4debe1..63dc37238aff 100644 --- a/filter/source/msfilter/svdfppt.cxx +++ b/filter/source/msfilter/svdfppt.cxx @@ -7395,7 +7395,6 @@ SdrObject* SdrPowerPointImport::CreateTable( SdrObject* pGroup, sal_uInt32* pTab SdrObject* pObj( aGroupIter.Next() ); if ( !IsLine( pObj ) ) { - Rectangle aSnapRect( pObj->GetSnapRect() ); sal_Int32 nTableIndex = 0; sal_Int32 nRow = 0; sal_Int32 nRowCount = 0; |