summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-26 16:07:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-28 08:08:52 +0200
commitedd0d35590fc368c6c06a9bb5c108aacbc742371 (patch)
tree467434c8c07ae5291b3347fe326cad12cc08f1ba /include
parenta3783c0af4bd21eb9c001aadc60c660c06a47779 (diff)
loplugin:countusersofdefaultparams
Change-Id: I84868b3115c534a8240394283cc3beedf8cb3a80 Reviewed-on: https://gerrit.libreoffice.org/53543 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/filter/msfilter/msdffimp.hxx2
-rw-r--r--include/sfx2/objsh.hxx2
-rw-r--r--include/svl/itemset.hxx2
-rw-r--r--include/svl/zforlist.hxx2
-rw-r--r--include/svtools/htmlout.hxx2
-rw-r--r--include/svx/hlnkitem.hxx2
-rw-r--r--include/svx/svdhdl.hxx2
-rw-r--r--include/svx/svdmodel.hxx2
-rw-r--r--include/svx/svdpage.hxx2
-rw-r--r--include/tools/diagnose_ex.h2
-rw-r--r--include/vcl/GraphicObject.hxx2
-rw-r--r--include/vcl/bitmap.hxx2
-rw-r--r--include/vcl/floatwin.hxx2
13 files changed, 13 insertions, 13 deletions
diff --git a/include/filter/msfilter/msdffimp.hxx b/include/filter/msfilter/msdffimp.hxx
index 5c0742a39f0a..41f5ce32ae0f 100644
--- a/include/filter/msfilter/msdffimp.hxx
+++ b/include/filter/msfilter/msdffimp.hxx
@@ -600,7 +600,7 @@ public:
SvStream* pStData,
SdrModel* pSdrModel_,
long nApplicationScale,
- Color mnDefaultColor_ = COL_DEFAULT,
+ Color mnDefaultColor_,
SvStream* pStData2_ = nullptr,
bool bSkipImages = false );
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx
index a749d842ac2f..d614c283f901 100644
--- a/include/sfx2/objsh.hxx
+++ b/include/sfx2/objsh.hxx
@@ -630,7 +630,7 @@ public:
const JobSetup & rSetup,
sal_uInt16 nAspect = ASPECT_CONTENT );
virtual void Draw( OutputDevice *, const JobSetup & rSetup,
- sal_uInt16 nAspect = ASPECT_CONTENT ) = 0;
+ sal_uInt16 nAspect ) = 0;
virtual void FillClass( SvGlobalName * pClassName,
diff --git a/include/svl/itemset.hxx b/include/svl/itemset.hxx
index 12daca908fbd..87ac1f786f13 100644
--- a/include/svl/itemset.hxx
+++ b/include/svl/itemset.hxx
@@ -201,7 +201,7 @@ public:
bool bInvalidAsDefault = true );
void PutExtended( const SfxItemSet&,
SfxItemState eDontCareAs,
- SfxItemState eDefaultAs = SfxItemState::UNKNOWN );
+ SfxItemState eDefaultAs );
bool Set( const SfxItemSet&, bool bDeep = true );
diff --git a/include/svl/zforlist.hxx b/include/svl/zforlist.hxx
index dbc4929fef50..536d6bdf1645 100644
--- a/include/svl/zforlist.hxx
+++ b/include/svl/zforlist.hxx
@@ -776,7 +776,7 @@ public:
returned, even if the format code only contains [$xxx] !
*/
bool GetNewCurrencySymbolString( sal_uInt32 nFormat, OUString& rSymbol,
- const NfCurrencyEntry** ppEntry = nullptr,
+ const NfCurrencyEntry** ppEntry,
bool* pBank = nullptr ) const;
/** Look up the corresponding NfCurrencyEntry matching
diff --git a/include/svtools/htmlout.hxx b/include/svtools/htmlout.hxx
index 9aaf719021f2..3d95640e29cb 100644
--- a/include/svtools/htmlout.hxx
+++ b/include/svtools/htmlout.hxx
@@ -72,7 +72,7 @@ struct HTMLOutFuncs
bool bOutStarBasic,
const sal_Char *pDelim,
const sal_Char *pIndentArea,
- const sal_Char *pIndentMap = nullptr,
+ const sal_Char *pIndentMap,
rtl_TextEncoding eDestEnc = RTL_TEXTENCODING_MS_1252,
OUString *pNonConvertableChars = nullptr );
SVT_DLLPUBLIC static SvStream& FlushToAscii( SvStream&, HTMLOutContext& rContext );
diff --git a/include/svx/hlnkitem.hxx b/include/svx/hlnkitem.hxx
index daa3da50aabb..ad4aaf164a70 100644
--- a/include/svx/hlnkitem.hxx
+++ b/include/svx/hlnkitem.hxx
@@ -67,7 +67,7 @@ public:
const OUString& rTarget, const OUString& rIntName,
SvxLinkInsertMode eTyp,
HyperDialogEvent nEvents,
- SvxMacroTableDtor const *pMacroTbl =nullptr );
+ SvxMacroTableDtor const *pMacroTbl );
inline SvxHyperlinkItem& operator=( const SvxHyperlinkItem &rItem );
diff --git a/include/svx/svdhdl.hxx b/include/svx/svdhdl.hxx
index f738a996e409..8c719674260f 100644
--- a/include/svx/svdhdl.hxx
+++ b/include/svx/svdhdl.hxx
@@ -259,7 +259,7 @@ class SVX_DLLPUBLIC SdrHdlColor : public SdrHdl
SVX_DLLPRIVATE static Color GetLuminance(const Color& rCol);
public:
- explicit SdrHdlColor(const Point& rRef, Color aCol, const Size& rSize, bool bLum = false);
+ explicit SdrHdlColor(const Point& rRef, Color aCol, const Size& rSize, bool bLuminance);
virtual ~SdrHdlColor() override;
bool IsUseLuminance() const { return bUseLuminance; }
diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx
index 12636ad48543..cd49212c3584 100644
--- a/include/svx/svdmodel.hxx
+++ b/include/svx/svdmodel.hxx
@@ -431,7 +431,7 @@ public:
virtual void Merge(SdrModel& rSourceModel,
sal_uInt16 nFirstPageNum, sal_uInt16 nLastPageNum,
sal_uInt16 nDestPos,
- bool bMergeMasterPages, bool bAllMasterPages = false,
+ bool bMergeMasterPages, bool bAllMasterPages,
bool bUndo = true, bool bTreadSourceAsConst = false);
// Behaves like Merge(SourceModel=DestModel,nFirst,nLast,nDest,sal_False,sal_False,bUndo,!bMoveNoCopy);
diff --git a/include/svx/svdpage.hxx b/include/svx/svdpage.hxx
index 38a994ff9284..f6899da1a86d 100644
--- a/include/svx/svdpage.hxx
+++ b/include/svx/svdpage.hxx
@@ -83,7 +83,7 @@ friend class SdrEditView;
protected:
void RecalcRects();
- void copyDataFromSdrObjList(const SdrObjList& rSrcList, SdrModel* pNewModel = nullptr);
+ void copyDataFromSdrObjList(const SdrObjList& rSrcList, SdrModel* pNewModel);
private:
/// simple ActionChildInserted forwarder to have it on a central place
diff --git a/include/tools/diagnose_ex.h b/include/tools/diagnose_ex.h
index 9c18d5f51ad4..0f924fc20988 100644
--- a/include/tools/diagnose_ex.h
+++ b/include/tools/diagnose_ex.h
@@ -31,7 +31,7 @@
TOOLS_DLLPUBLIC void DbgUnhandledException(const css::uno::Any& caughtException,
const char* currentFunction, const char* fileAndLineNo,
- const char* area = nullptr, const char* explanatory = nullptr);
+ const char* area, const char* explanatory = nullptr);
//getCaughtException throws exceptions in never-going-to-happen situations which
//floods coverity with warnings
diff --git a/include/vcl/GraphicObject.hxx b/include/vcl/GraphicObject.hxx
index d9f60e49598d..bad14526f1d4 100644
--- a/include/vcl/GraphicObject.hxx
+++ b/include/vcl/GraphicObject.hxx
@@ -320,7 +320,7 @@ public:
const MapMode& rDestMap,
const GraphicAttr& rAttr
) const;
- Graphic GetTransformedGraphic( const GraphicAttr* pAttr = nullptr ) const; // TODO: Change to Impl
+ Graphic GetTransformedGraphic( const GraphicAttr* pAttr ) const; // TODO: Change to Impl
void SetAttr( const GraphicAttr& rAttr );
const GraphicAttr& GetAttr() const { return maAttr; }
diff --git a/include/vcl/bitmap.hxx b/include/vcl/bitmap.hxx
index 78aeb2292533..d0fa1a28ea34 100644
--- a/include/vcl/bitmap.hxx
+++ b/include/vcl/bitmap.hxx
@@ -288,7 +288,7 @@ public:
@param nDitherFlags
The algorithm to be used for dithering
*/
- bool Dither( BmpDitherFlags nDitherFlags = BmpDitherFlags::Matrix );
+ bool Dither( BmpDitherFlags nDitherFlags );
/** Crop the bitmap
diff --git a/include/vcl/floatwin.hxx b/include/vcl/floatwin.hxx
index 5e5cfac0d3ac..60531a5478a3 100644
--- a/include/vcl/floatwin.hxx
+++ b/include/vcl/floatwin.hxx
@@ -149,7 +149,7 @@ public:
FloatWinTitleType GetTitleType() const { return mnTitle; }
void StartPopupMode( const tools::Rectangle& rRect, FloatWinPopupFlags nFlags );
- void StartPopupMode( ToolBox* pBox, FloatWinPopupFlags nFlags = FloatWinPopupFlags::NONE );
+ void StartPopupMode( ToolBox* pBox, FloatWinPopupFlags nFlags );
void EndPopupMode( FloatWinPopupEndFlags nFlags = FloatWinPopupEndFlags::NONE );
void AddPopupModeWindow( vcl::Window* pWindow );
FloatWinPopupFlags GetPopupModeFlags() const { return mnPopupModeFlags; }