diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-14 11:09:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-14 11:09:40 +0200 |
commit | fceee9237c583f8d95396845a1c1606000df26fb (patch) | |
tree | f8cd45eb62de32b6071a1c7ad88fa43ce18ff7ba /filter | |
parent | 719c55cda76e0a00b4530396ebcf25777588a250 (diff) |
loplugin: defaultparams
Change-Id: I4080aece6fec2778a2a8646ddedd280337303591
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/graphicfilter/eps/eps.cxx | 8 | ||||
-rw-r--r-- | filter/source/graphicfilter/icgm/class4.cxx | 2 | ||||
-rw-r--r-- | filter/source/graphicfilter/idxf/dxf2mtf.cxx | 2 | ||||
-rw-r--r-- | filter/source/msfilter/msvbahelper.cxx | 2 | ||||
-rw-r--r-- | filter/source/pdf/impdialog.cxx | 6 | ||||
-rw-r--r-- | filter/source/xsltfilter/OleHandler.cxx | 2 |
6 files changed, 11 insertions, 11 deletions
diff --git a/filter/source/graphicfilter/eps/eps.cxx b/filter/source/graphicfilter/eps/eps.cxx index 38460b92b68d..bcbb526d109d 100644 --- a/filter/source/graphicfilter/eps/eps.cxx +++ b/filter/source/graphicfilter/eps/eps.cxx @@ -1649,7 +1649,7 @@ void PSWriter::ImplPolyPoly( const tools::PolyPolygon & rPolyPoly, bool bTextOut ImplWriteLineColor( PS_SPACE ); for ( i = 0; i < nPolyCount; i++ ) ImplAddPath( rPolyPoly.GetObject( i ) ); - ImplClosePathDraw( PS_RET ); + ImplClosePathDraw(); } } } @@ -1685,7 +1685,7 @@ void PSWriter::ImplPolyLine( const Polygon & rPoly ) // #104645# explicitly close path if polygon is closed if( rPoly[ 0 ] == rPoly[ nPointCount-1 ] ) - ImplClosePathDraw( PS_RET ); + ImplClosePathDraw(); else ImplPathDraw(); } @@ -2438,13 +2438,13 @@ void PSWriter::ImplWriteLineInfo( double fLWidth, double fMLimit, if ( eLineCap != eLCap ) { eLineCap = eLCap; - ImplWriteLong( (sal_Int32)eLineCap, PS_SPACE ); + ImplWriteLong( (sal_Int32)eLineCap ); ImplWriteLine( "lc", PS_SPACE ); } if ( eJoinType != eJoin ) { eJoinType = eJoin; - ImplWriteLong( (sal_Int32)eJoinType, PS_SPACE ); + ImplWriteLong( (sal_Int32)eJoinType ); ImplWriteLine( "lj", PS_SPACE ); } if ( eJoinType == SvtGraphicStroke::joinMiter ) diff --git a/filter/source/graphicfilter/icgm/class4.cxx b/filter/source/graphicfilter/icgm/class4.cxx index e484e52d739f..0523ada023ba 100644 --- a/filter/source/graphicfilter/icgm/class4.cxx +++ b/filter/source/graphicfilter/icgm/class4.cxx @@ -288,7 +288,7 @@ void CGM::ImplDoClass4() { aPolygon.SetPoint( pPoints[ i ], i ); } - aPolyPolygon.Insert( aPolygon, POLYPOLY_APPEND ); + aPolyPolygon.Insert( aPolygon ); nPoints = 0; } } diff --git a/filter/source/graphicfilter/idxf/dxf2mtf.cxx b/filter/source/graphicfilter/idxf/dxf2mtf.cxx index 29a67f3130a3..613f76f5053f 100644 --- a/filter/source/graphicfilter/idxf/dxf2mtf.cxx +++ b/filter/source/graphicfilter/idxf/dxf2mtf.cxx @@ -614,7 +614,7 @@ void DXF2GDIMetaFile::DrawHatchEntity(const DXFHatchEntity & rE, const DXFTransf Polygon aPoly( nSize ); for ( i = 0; i < nSize; i++ ) aPoly[ i ] = aPtAry[ i ]; - aPolyPoly.Insert( aPoly, POLYPOLY_APPEND ); + aPolyPoly.Insert( aPoly ); } } if ( aPolyPoly.Count() ) diff --git a/filter/source/msfilter/msvbahelper.cxx b/filter/source/msfilter/msvbahelper.cxx index ebf458be2b92..8667270e2f61 100644 --- a/filter/source/msfilter/msvbahelper.cxx +++ b/filter/source/msfilter/msvbahelper.cxx @@ -597,7 +597,7 @@ OUString SAL_CALL VBAMacroResolver::resolveVBAMacroToScriptURL( const OUString& aMacroName = aMacroName.copy( nDotPos + 1 ); // try to find the macro - MacroResolvedInfo aInfo = resolveVBAMacro( mpObjShell, aMacroName, false ); + MacroResolvedInfo aInfo = resolveVBAMacro( mpObjShell, aMacroName ); if( !aInfo.mbFound ) throw lang::IllegalArgumentException(); diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx index 8902b4c8636b..43dbec842cfc 100644 --- a/filter/source/pdf/impdialog.cxx +++ b/filter/source/pdf/impdialog.cxx @@ -305,7 +305,7 @@ ImpPDFTabGeneralPage* ImpPDFTabDialog::getGeneralPage() const IMPL_LINK_NOARG(ImpPDFTabDialog, CancelHdl) { - EndDialog( RET_CANCEL ); + EndDialog(); return 0; } @@ -1121,12 +1121,12 @@ void ImpPDFTabViewerPage::SetFilterConfigItem( const ImpPDFTabDialog* paParent m_pCbTransitionEffects->Enable( mbIsPresentation ); if( paParent->mnOpenBookmarkLevels < 0 ) { - m_pRbAllBookmarkLevels->Check( true ); + m_pRbAllBookmarkLevels->Check(); m_pNumBookmarkLevels->Enable( false ); } else { - m_pRbVisibleBookmarkLevels->Check( true ); + m_pRbVisibleBookmarkLevels->Check(); m_pNumBookmarkLevels->Enable( true ); m_pNumBookmarkLevels->SetValue( paParent->mnOpenBookmarkLevels ); } diff --git a/filter/source/xsltfilter/OleHandler.cxx b/filter/source/xsltfilter/OleHandler.cxx index 74d4ea9bc819..55b89b74a646 100644 --- a/filter/source/xsltfilter/OleHandler.cxx +++ b/filter/source/xsltfilter/OleHandler.cxx @@ -76,7 +76,7 @@ namespace XSLT { Sequence<sal_Int8> oleData; ::sax::Converter::decodeBase64(oleData, OStringToOUString( - content, RTL_TEXTENCODING_UTF8, OSTRING_TO_OUSTRING_CVTFLAGS)); + content, RTL_TEXTENCODING_UTF8)); m_rootStream = createTempFile(); Reference<XOutputStream> xOutput = m_rootStream->getOutputStream(); xOutput->writeBytes(oleData); |