diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-11 08:42:56 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-11 09:48:18 +0200 |
commit | 8dc5f89346fa0f6820d5fd0b1ad4092168967f12 (patch) | |
tree | f3742c90480393565c89ffdd0cb1cee639c65d0d /vcl/source/filter | |
parent | 286dfc2a720ea8bd6b26c10126202fa25a112e0f (diff) |
loplugin: defaultparams
Change-Id: I79a889c68e91712d2abdacc559c78813f730e623
Diffstat (limited to 'vcl/source/filter')
-rw-r--r-- | vcl/source/filter/graphicfilter.cxx | 2 | ||||
-rw-r--r-- | vcl/source/filter/ixpm/xpmread.cxx | 2 | ||||
-rw-r--r-- | vcl/source/filter/wmf/emfwr.cxx | 2 | ||||
-rw-r--r-- | vcl/source/filter/wmf/enhwmf.cxx | 2 | ||||
-rw-r--r-- | vcl/source/filter/wmf/winmtf.cxx | 18 |
5 files changed, 13 insertions, 13 deletions
diff --git a/vcl/source/filter/graphicfilter.cxx b/vcl/source/filter/graphicfilter.cxx index 18997c169b1a..5bf303e7b2fa 100644 --- a/vcl/source/filter/graphicfilter.cxx +++ b/vcl/source/filter/graphicfilter.cxx @@ -266,7 +266,7 @@ static bool ImpPeekGraphicFormat( SvStream& rStream, OUString& rFormatExtension, { SvLockBytes* pLockBytes = rStream.GetLockBytes(); if ( pLockBytes ) - pLockBytes->SetSynchronMode( true ); + pLockBytes->SetSynchronMode(); rStream.Seek( STREAM_SEEK_TO_END ); nStreamLen = rStream.Tell() - nStreamPos; diff --git a/vcl/source/filter/ixpm/xpmread.cxx b/vcl/source/filter/ixpm/xpmread.cxx index 6d7646c827f3..a421b754248b 100644 --- a/vcl/source/filter/ixpm/xpmread.cxx +++ b/vcl/source/filter/ixpm/xpmread.cxx @@ -342,7 +342,7 @@ bool XPMReader::ImplGetColSub( sal_uInt8* pDest ) pRGBTable[ i ].name[ mnParaSize ] == 0 ) { if ( ImplCompare ( reinterpret_cast<unsigned char const *>(pRGBTable[ i ].name), - mpPara, mnParaSize, XPMCASENONSENSITIVE ) ) + mpPara, mnParaSize ) ) { bColStatus = true; *pDest++ = 0; diff --git a/vcl/source/filter/wmf/emfwr.cxx b/vcl/source/filter/wmf/emfwr.cxx index 8b445597774a..16b3d60ff7a5 100644 --- a/vcl/source/filter/wmf/emfwr.cxx +++ b/vcl/source/filter/wmf/emfwr.cxx @@ -1262,7 +1262,7 @@ void EMFWriter::ImplWrite( const GDIMetaFile& rMtf ) const MetaAction* pSubstAct = aSubstitute.GetAction( i ); if( pSubstAct->GetType() == MetaActionType::BMPSCALE ) { - maVDev->Push( PushFlags::ALL ); + maVDev->Push(); ImplBeginRecord( WIN_EMR_SAVEDC ); ImplEndRecord(); diff --git a/vcl/source/filter/wmf/enhwmf.cxx b/vcl/source/filter/wmf/enhwmf.cxx index 81b8b7b6c7b2..ac4caa0ada1b 100644 --- a/vcl/source/filter/wmf/enhwmf.cxx +++ b/vcl/source/filter/wmf/enhwmf.cxx @@ -1549,7 +1549,7 @@ bool EnhWMFReader::ReadEnhWMF() { pOut->Push(); pOut->SelectObject( nIndex ); - pOut->DrawPolyPolygon( aPolyPoly, false ); + pOut->DrawPolyPolygon( aPolyPoly ); pOut->Pop(); } } diff --git a/vcl/source/filter/wmf/winmtf.cxx b/vcl/source/filter/wmf/winmtf.cxx index f63ebac3c30e..d4bdaa86cb8b 100644 --- a/vcl/source/filter/wmf/winmtf.cxx +++ b/vcl/source/filter/wmf/winmtf.cxx @@ -97,16 +97,16 @@ basegfx::B2DPolyPolygon WinMtfClipPath::getClipPath() const void WinMtfPathObj::AddPoint( const Point& rPoint ) { if ( bClosed ) - Insert( Polygon(), POLYPOLY_APPEND ); + Insert( Polygon() ); Polygon& rPoly = ((tools::PolyPolygon&)*this)[ Count() - 1 ]; - rPoly.Insert( rPoly.GetSize(), rPoint, POLY_NORMAL ); + rPoly.Insert( rPoly.GetSize(), rPoint ); bClosed = false; } void WinMtfPathObj::AddPolyLine( const Polygon& rPolyLine ) { if ( bClosed ) - Insert( Polygon(), POLYPOLY_APPEND ); + Insert( Polygon() ); Polygon& rPoly = ((tools::PolyPolygon&)*this)[ Count() - 1 ]; rPoly.Insert( rPoly.GetSize(), rPolyLine ); bClosed = false; @@ -114,7 +114,7 @@ void WinMtfPathObj::AddPolyLine( const Polygon& rPolyLine ) void WinMtfPathObj::AddPolygon( const Polygon& rPoly ) { - Insert( rPoly, POLYPOLY_APPEND ); + Insert( rPoly ); bClosed = true; } @@ -122,7 +122,7 @@ void WinMtfPathObj::AddPolyPolygon( const tools::PolyPolygon& rPolyPoly ) { sal_uInt16 i, nCount = rPolyPoly.Count(); for ( i = 0; i < nCount; i++ ) - Insert( rPolyPoly[ i ], POLYPOLY_APPEND ); + Insert( rPolyPoly[ i ] ); bClosed = true; } @@ -135,7 +135,7 @@ void WinMtfPathObj::ClosePath() { Point aFirst( rPoly[ 0 ] ); if ( aFirst != rPoly[ rPoly.GetSize() - 1 ] ) - rPoly.Insert( rPoly.GetSize(), aFirst, POLY_NORMAL ); + rPoly.Insert( rPoly.GetSize(), aFirst ); } } bClosed = true; @@ -263,7 +263,7 @@ WinMtf::WinMtf( WinMtfOutput* pWinMtfOutput, SvStream& rStreamWMF, FilterConfigI { SvLockBytes *pLB = pWMF->GetLockBytes(); if ( pLB ) - pLB->SetSynchronMode( true ); + pLB->SetSynchronMode(); nStartPos = pWMF->Tell(); @@ -1022,7 +1022,7 @@ void WinMtfOutput::MoveTo( const Point& rPoint, bool bRecordPath ) // fdo#57353 create new subpath for subsequent moves if ( aPathObj.Count() ) if ( aPathObj[ aPathObj.Count() - 1 ].GetSize() ) - aPathObj.Insert( Polygon(), POLYPOLY_APPEND ); + aPathObj.Insert( Polygon() ); aPathObj.AddPoint( aDest ); } maActPos = aDest; @@ -2094,7 +2094,7 @@ void WinMtfOutput::Pop() void WinMtfOutput::AddFromGDIMetaFile( GDIMetaFile& rGDIMetaFile ) { - rGDIMetaFile.Play( *mpGDIMetaFile, 0xFFFFFFFF ); + rGDIMetaFile.Play( *mpGDIMetaFile ); } void WinMtfOutput::PassEMFPlusHeaderInfo() |