summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-05 11:11:03 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-05 11:54:17 +0000
commitb4e12269e813338afc895986fbc4f2703cedd016 (patch)
tree8809ce08d9199ba14ffc51cd28db0869f826e208 /filter
parentdbe0b5aa9dc016498c623e76babcc486894d4235 (diff)
loplugin:countusersofdefaultparams in editeng..fpicker
Change-Id: I6356c95296d81736fc6d66e510cd70606ee55f68 Reviewed-on: https://gerrit.libreoffice.org/27897 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/graphicfilter/eps/eps.cxx14
-rw-r--r--filter/source/graphicfilter/ipict/ipict.cxx2
-rw-r--r--filter/source/msfilter/eschesdo.hxx4
3 files changed, 10 insertions, 10 deletions
diff --git a/filter/source/graphicfilter/eps/eps.cxx b/filter/source/graphicfilter/eps/eps.cxx
index 4ab22f20828b..7036da7690fc 100644
--- a/filter/source/graphicfilter/eps/eps.cxx
+++ b/filter/source/graphicfilter/eps/eps.cxx
@@ -148,7 +148,7 @@ private:
css::uno::Reference< css::task::XStatusIndicator > xStatusIndicator;
- void ImplWriteProlog( const Graphic* pPreviewEPSI = nullptr );
+ void ImplWriteProlog( const Graphic* pPreviewEPSI );
void ImplWriteEpilog();
void ImplWriteActions( const GDIMetaFile& rMtf, VirtualDevice& rVDev );
@@ -180,7 +180,7 @@ private:
inline void ImplWritePoint( const Point& );
void ImplMoveTo( const Point& );
void ImplLineTo( const Point&, sal_uInt32 nMode = PS_SPACE );
- void ImplCurveTo( const Point& rP1, const Point& rP2, const Point& rP3, sal_uInt32 nMode = PS_SPACE );
+ void ImplCurveTo( const Point& rP1, const Point& rP2, const Point& rP3, sal_uInt32 nMode );
void ImplTranslate( const double& fX, const double& fY );
void ImplScale( const double& fX, const double& fY );
@@ -200,15 +200,15 @@ private:
void ImplText( const OUString& rUniString, const Point& rPos, const long* pDXArry, sal_Int32 nWidth, VirtualDevice& rVDev );
void ImplSetAttrForText( const Point & rPoint );
void ImplWriteCharacter( sal_Char );
- void ImplWriteString( const OString&, VirtualDevice& rVDev, const long* pDXArry = nullptr, bool bStretch = false );
+ void ImplWriteString( const OString&, VirtualDevice& rVDev, const long* pDXArry, bool bStretch );
void ImplDefineFont( const char*, const char* );
void ImplClosePathDraw();
void ImplPathDraw();
- inline void ImplWriteLineColor( sal_uLong nMode = PS_RET );
- inline void ImplWriteFillColor( sal_uLong nMode = PS_RET );
- inline void ImplWriteTextColor( sal_uLong nMode = PS_RET );
+ inline void ImplWriteLineColor( sal_uLong nMode );
+ inline void ImplWriteFillColor( sal_uLong nMode );
+ inline void ImplWriteTextColor( sal_uLong nMode );
void ImplWriteColor( sal_uLong nMode );
void ImplGetMapMode( const MapMode& );
@@ -2067,7 +2067,7 @@ void PSWriter::ImplSetAttrForText( const Point& rPoint )
Point aPoint( rPoint );
long nRotation = maFont.GetOrientation();
- ImplWriteTextColor();
+ ImplWriteTextColor(PS_RET);
Size aSize = maFont.GetFontSize();
diff --git a/filter/source/graphicfilter/ipict/ipict.cxx b/filter/source/graphicfilter/ipict/ipict.cxx
index 2cafb482d6eb..ad451f72166e 100644
--- a/filter/source/graphicfilter/ipict/ipict.cxx
+++ b/filter/source/graphicfilter/ipict/ipict.cxx
@@ -54,7 +54,7 @@ namespace PictReaderInternal {
*
* note: maybe, we must also use some mode PatCopy, ... to define the color
*/
- Color getColor(Color bkColor=COL_WHITE, Color fgColor = COL_BLACK) const {
+ Color getColor(Color bkColor, Color fgColor) const {
if (isColor) return color;
// we create a gray pattern from nBitCount
double alpha = nBitCount / 64.0;
diff --git a/filter/source/msfilter/eschesdo.hxx b/filter/source/msfilter/eschesdo.hxx
index f583761e568d..351d28896668 100644
--- a/filter/source/msfilter/eschesdo.hxx
+++ b/filter/source/msfilter/eschesdo.hxx
@@ -143,7 +143,7 @@ protected:
const Point& rTextRefPoint );
sal_uInt32 ImplEnterAdditionalTextGroup(
const css::uno::Reference< css::drawing::XShape >& rShape,
- const Rectangle* pBoundRect = nullptr );
+ const Rectangle* pBoundRect );
public:
@@ -169,7 +169,7 @@ public:
bool ImplInitUnoShapes( const css::uno::Reference< css::drawing::XShapes >& rxShapes );
void ImplWriteCurrentPage();
- sal_uInt32 ImplWriteTheShape( ImplEESdrObject& rObj, bool ooxmlExport = false );
+ sal_uInt32 ImplWriteTheShape( ImplEESdrObject& rObj, bool ooxmlExport );
void ImplExitPage();
void ImplFlushSolverContainer();