summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-11 11:33:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-11 12:12:22 +0200
commit1ba4bb6397e5be8f30c79371a330077829c74742 (patch)
treef2abf920c36f0a346712717d6c33e15a3ff61e69
parentdd6ea56c028079ce80ff9fc2db43ffd35e4d8489 (diff)
loplugin:countusersofdefaultparams in editeng..rsc
Change-Id: I8a8d13faf228cbc934ae21d6763d92d370eb42ec
-rw-r--r--editeng/source/editeng/editdoc.hxx2
-rw-r--r--extensions/source/bibliography/bibbeam.cxx2
-rw-r--r--extensions/source/bibliography/bibshortcuthandler.hxx4
-rw-r--r--extensions/source/bibliography/bibview.hxx2
-rw-r--r--extensions/source/propctrlr/usercontrol.hxx2
-rw-r--r--filter/source/flash/swfexporter.hxx4
-rw-r--r--filter/source/flash/swfwriter.hxx2
-rw-r--r--filter/source/msfilter/eschesdo.hxx2
-rw-r--r--forms/source/component/Columns.hxx2
-rw-r--r--formula/source/ui/dlg/structpg.hxx2
-rw-r--r--hwpfilter/source/hwpreader.cxx14
-rw-r--r--hwpfilter/source/hwpreader.hxx6
-rw-r--r--i18npool/source/search/levdis.hxx2
-rw-r--r--l10ntools/inc/po.hxx4
-rw-r--r--lotuswordpro/source/filter/lwpfribtext.hxx2
-rw-r--r--lotuswordpro/source/filter/xfilter/xffloatframe.hxx2
-rw-r--r--lotuswordpro/source/filter/xfilter/xfpagemaster.hxx8
-rw-r--r--rsc/inc/rsccont.hxx4
18 files changed, 33 insertions, 33 deletions
diff --git a/editeng/source/editeng/editdoc.hxx b/editeng/source/editeng/editdoc.hxx
index 182d09f775b5..201325866c75 100644
--- a/editeng/source/editeng/editdoc.hxx
+++ b/editeng/source/editeng/editdoc.hxx
@@ -196,7 +196,7 @@ public:
CharAttribList();
~CharAttribList();
- void dumpAsXml(struct _xmlTextWriter* pWriter = nullptr) const;
+ void dumpAsXml(struct _xmlTextWriter* pWriter) const;
void DeleteEmptyAttribs( SfxItemPool& rItemPool );
diff --git a/extensions/source/bibliography/bibbeam.cxx b/extensions/source/bibliography/bibbeam.cxx
index a3e7e530ab6d..b0dd0c032927 100644
--- a/extensions/source/bibliography/bibbeam.cxx
+++ b/extensions/source/bibliography/bibbeam.cxx
@@ -84,7 +84,7 @@ namespace bib
public:
- BibGridwin(vcl::Window* pParent, WinBits nStyle = WB_3DLOOK );
+ BibGridwin(vcl::Window* pParent, WinBits nStyle );
virtual ~BibGridwin() override;
virtual void dispose() override;
diff --git a/extensions/source/bibliography/bibshortcuthandler.hxx b/extensions/source/bibliography/bibshortcuthandler.hxx
index 12e28ebff577..1e9099dd039d 100644
--- a/extensions/source/bibliography/bibshortcuthandler.hxx
+++ b/extensions/source/bibliography/bibshortcuthandler.hxx
@@ -55,14 +55,14 @@ inline vcl::Window* BibShortCutHandler::GetWindow()
class BibWindow : public vcl::Window, public BibShortCutHandler
{
public:
- BibWindow( vcl::Window* pParent,WinBits nStyle = WB_3DLOOK);
+ BibWindow( vcl::Window* pParent, WinBits nStyle);
virtual ~BibWindow() override;
};
class BibSplitWindow : public SplitWindow, public BibShortCutHandler
{
public:
- BibSplitWindow( vcl::Window* pParent,WinBits nStyle = WB_3DLOOK);
+ BibSplitWindow( vcl::Window* pParent, WinBits nStyle);
};
#endif
diff --git a/extensions/source/bibliography/bibview.hxx b/extensions/source/bibliography/bibview.hxx
index 6b1e9743b5ba..25b579a87107 100644
--- a/extensions/source/bibliography/bibview.hxx
+++ b/extensions/source/bibliography/bibview.hxx
@@ -70,7 +70,7 @@ namespace bib
virtual void Resize() override;
public:
- BibView( vcl::Window* _pParent, BibDataManager* _pDatMan, WinBits nStyle = WB_3DLOOK );
+ BibView( vcl::Window* _pParent, BibDataManager* _pDatMan, WinBits nStyle );
virtual ~BibView() override;
virtual void dispose() override;
diff --git a/extensions/source/propctrlr/usercontrol.hxx b/extensions/source/propctrlr/usercontrol.hxx
index 4a5719ac2d0e..64daff191e42 100644
--- a/extensions/source/propctrlr/usercontrol.hxx
+++ b/extensions/source/propctrlr/usercontrol.hxx
@@ -102,7 +102,7 @@ namespace pcr
sal_Int32 m_nLastDecimalDigits;
public:
- OFormattedNumericControl( vcl::Window* pParent, WinBits nWinStyle = WB_TABSTOP);
+ OFormattedNumericControl( vcl::Window* pParent, WinBits nWinStyle);
// XPropertyControl
virtual css::uno::Any SAL_CALL getValue() throw (css::uno::RuntimeException, std::exception) override;
diff --git a/filter/source/flash/swfexporter.hxx b/filter/source/flash/swfexporter.hxx
index f65ad8efae04..beca04072611 100644
--- a/filter/source/flash/swfexporter.hxx
+++ b/filter/source/flash/swfexporter.hxx
@@ -122,8 +122,8 @@ public:
const css::uno::Reference< css::drawing::XShapes >& rxSelectedShapes,
const css::uno::Reference< css::drawing::XDrawPage >& rxSelectedDrawPage,
- sal_Int32 nJPEGCompressMode = -1,
- bool bExportOLEAsJPEG = false);
+ sal_Int32 nJPEGCompressMode,
+ bool bExportOLEAsJPEG);
~FlashExporter();
void Flush();
diff --git a/filter/source/flash/swfwriter.hxx b/filter/source/flash/swfwriter.hxx
index 002a6e6775f0..0cbcb019e5f3 100644
--- a/filter/source/flash/swfwriter.hxx
+++ b/filter/source/flash/swfwriter.hxx
@@ -247,7 +247,7 @@ public:
An invisible shape with the size of the document is placed at depth 1
and it clips all shapes on depth 2 and 3.
*/
- Writer( sal_Int32 nDocWidthInput, sal_Int32 nDocHeightInput, sal_Int32 nDocWidth, sal_Int32 nDocHeight, sal_Int32 nJPEGcompressMode = -1 );
+ Writer( sal_Int32 nDocWidthInput, sal_Int32 nDocHeightInput, sal_Int32 nDocWidth, sal_Int32 nDocHeight, sal_Int32 nJPEGcompressMode );
~Writer();
void storeTo( css::uno::Reference< css::io::XOutputStream > &xOutStream );
diff --git a/filter/source/msfilter/eschesdo.hxx b/filter/source/msfilter/eschesdo.hxx
index 18bfeced9ad4..16815a732a85 100644
--- a/filter/source/msfilter/eschesdo.hxx
+++ b/filter/source/msfilter/eschesdo.hxx
@@ -52,7 +52,7 @@ class ImplEESdrObject
public:
css::uno::Reference< css::beans::XPropertySet > mXPropSet;
- ImplEESdrObject( ImplEESdrWriter& rEx, const SdrObject& rObj, bool bOOXML = false );
+ ImplEESdrObject( ImplEESdrWriter& rEx, const SdrObject& rObj, bool bOOXML );
ImplEESdrObject( ImplEESdrWriter& rEx, const css::uno::Reference< css::drawing::XShape >& rShape );
~ImplEESdrObject();
diff --git a/forms/source/component/Columns.hxx b/forms/source/component/Columns.hxx
index 014300f5864e..ec52109711cd 100644
--- a/forms/source/component/Columns.hxx
+++ b/forms/source/component/Columns.hxx
@@ -62,7 +62,7 @@ protected:
// [properties]
public:
- OGridColumn(const css::uno::Reference<css::uno::XComponentContext>& _rContext, const OUString& _sModelName = OUString());
+ OGridColumn(const css::uno::Reference<css::uno::XComponentContext>& _rContext, const OUString& _sModelName);
explicit OGridColumn(const OGridColumn* _pOriginal );
virtual ~OGridColumn() override;
diff --git a/formula/source/ui/dlg/structpg.hxx b/formula/source/ui/dlg/structpg.hxx
index f15d72adb3c1..d14b770c05d7 100644
--- a/formula/source/ui/dlg/structpg.hxx
+++ b/formula/source/ui/dlg/structpg.hxx
@@ -53,7 +53,7 @@ public:
const Image& rEntryImg,
SvTreeListEntry* pParent,
sal_uLong nPos,
- IFormulaToken* pToken = nullptr );
+ IFormulaToken* pToken );
void SetActiveFlag(bool bFlag);
bool GetActiveFlag() { return bActiveFlag;}
diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx
index e02301a87a02..02348731913b 100644
--- a/hwpfilter/source/hwpreader.cxx
+++ b/hwpfilter/source/hwpreader.cxx
@@ -4171,7 +4171,7 @@ void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox)
//parsePara(pPara);
while(pPara)
{
- make_text_p1( pPara );
+ make_text_p1( pPara, false );
pPara = pPara->Next();
}
}
@@ -4219,7 +4219,7 @@ void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox)
//parsePara(pPara);
while(pPara)
{
- make_text_p1( pPara );
+ make_text_p1( pPara, false );
pPara = pPara->Next();
}
}
@@ -4329,7 +4329,7 @@ void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox)
//parsePara(pPara);
while(pPara)
{
- make_text_p1( pPara );
+ make_text_p1( pPara, false );
pPara = pPara->Next();
}
}
@@ -4445,7 +4445,7 @@ void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox)
HWPPara *pPara = drawobj->property.pPara;
while(pPara)
{
- make_text_p1( pPara );
+ make_text_p1( pPara, false );
pPara = pPara->Next();
}
}
@@ -4510,7 +4510,7 @@ void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox)
// parsePara(pPara);
while(pPara)
{
- make_text_p1( pPara );
+ make_text_p1( pPara, false );
pPara = pPara->Next();
}
}
@@ -4528,7 +4528,7 @@ void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox)
//parsePara(pPara);
while(pPara)
{
- make_text_p1( pPara );
+ make_text_p1( pPara, false );
pPara = pPara->Next();
}
}
@@ -4570,7 +4570,7 @@ void HwpReader::makePictureDRAW(HWPDrawingObject *drawobj, Picture * hbox)
//parsePara(pPara);
while(pPara)
{
- make_text_p1( pPara );
+ make_text_p1( pPara, false );
pPara = pPara->Next();
}
diff --git a/hwpfilter/source/hwpreader.hxx b/hwpfilter/source/hwpreader.hxx
index 73d4378f5435..fa0a2430e1e1 100644
--- a/hwpfilter/source/hwpreader.hxx
+++ b/hwpfilter/source/hwpreader.hxx
@@ -107,9 +107,9 @@ private:
/* -------- Paragraph Parsing --------- */
void parsePara(HWPPara *para);
- void make_text_p0(HWPPara *para, bool bParaStart = false);
- void make_text_p1(HWPPara *para, bool bParaStart = false);
- void make_text_p3(HWPPara *para, bool bParaStart = false);
+ void make_text_p0(HWPPara *para, bool bParaStart);
+ void make_text_p1(HWPPara *para, bool bParaStart);
+ void make_text_p3(HWPPara *para, bool bParaStart);
/* -------- rDocument->characters(x) --------- */
void makeChars(hchar_string & rStr);
diff --git a/i18npool/source/search/levdis.hxx b/i18npool/source/search/levdis.hxx
index ec82df03335b..cd12628686ca 100644
--- a/i18npool/source/search/levdis.hxx
+++ b/i18npool/source/search/levdis.hxx
@@ -168,7 +168,7 @@ public:
@param bRelaxed the mathematically incorrect method is default (TRUE)
*/
WLevDistance( const sal_Unicode* cPattern, int nOtherX, int nShorterY,
- int nLongerZ, bool bRelaxed = true );
+ int nLongerZ, bool bRelaxed );
WLevDistance( const WLevDistance& rWLD );
~WLevDistance();
diff --git a/l10ntools/inc/po.hxx b/l10ntools/inc/po.hxx
index ce392593fc90..ce1443d26d14 100644
--- a/l10ntools/inc/po.hxx
+++ b/l10ntools/inc/po.hxx
@@ -46,7 +46,7 @@ public:
PoEntry();
PoEntry( const OString& rSourceFile, const OString& rResType, const OString& rGroupId,
const OString& rLocalId, const OString& rHelpText, const OString& rText,
- const TYPE eType = TTEXT );
+ const TYPE eType );
~PoEntry();
PoEntry( const PoEntry& rPo );
@@ -105,7 +105,7 @@ public:
enum OpenMode { TRUNC, APP };
PoOfstream();
- PoOfstream(const OString& rFileName, OpenMode aMode = TRUNC );
+ PoOfstream(const OString& rFileName, OpenMode aMode );
~PoOfstream();
PoOfstream(const PoOfstream&) = delete;
PoOfstream& operator=(const PoOfstream&) = delete;
diff --git a/lotuswordpro/source/filter/lwpfribtext.hxx b/lotuswordpro/source/filter/lwpfribtext.hxx
index 138ef9a22e76..92c9d1121c13 100644
--- a/lotuswordpro/source/filter/lwpfribtext.hxx
+++ b/lotuswordpro/source/filter/lwpfribtext.hxx
@@ -66,7 +66,7 @@
class LwpFribText : public LwpFrib
{
public:
- LwpFribText( LwpPara* pPara, bool bNoUnicode=false);
+ LwpFribText( LwpPara* pPara, bool bNoUnicode);
virtual ~LwpFribText() override {}
void Read(LwpObjectStream* pObjStrm, sal_uInt16 len) override;
void XFConvert(XFContentContainer* pXFPara,LwpStory* pStory);
diff --git a/lotuswordpro/source/filter/xfilter/xffloatframe.hxx b/lotuswordpro/source/filter/xfilter/xffloatframe.hxx
index eaa43bff30c6..0931c6da62b1 100644
--- a/lotuswordpro/source/filter/xfilter/xffloatframe.hxx
+++ b/lotuswordpro/source/filter/xfilter/xffloatframe.hxx
@@ -75,7 +75,7 @@ public:
/**
* @descr output range: [start,end], not [start,end).
*/
- XFFloatFrame(sal_Int32 start, sal_Int32 end, bool all=false);
+ XFFloatFrame(sal_Int32 start, sal_Int32 end, bool all);
public:
void ToXml(IXFStream *pStrm) override;
diff --git a/lotuswordpro/source/filter/xfilter/xfpagemaster.hxx b/lotuswordpro/source/filter/xfilter/xfpagemaster.hxx
index a6e9fb5eb11b..845d781608be 100644
--- a/lotuswordpro/source/filter/xfilter/xfpagemaster.hxx
+++ b/lotuswordpro/source/filter/xfilter/xfpagemaster.hxx
@@ -85,7 +85,7 @@ public:
void SetPageHeight(double height);
- void SetMargins(double left, double right, double top=-1, double bottom=-1);
+ void SetMargins(double left, double right, double top, double bottom);
void SetPageUsage(enumXFPageUsage usage);
@@ -108,9 +108,9 @@ public:
void SetFootNoteSeparator(enumXFAlignType align,
double width,
sal_Int32 lengthPercent,
- double spaceAbove = 0.1,
- double spaceBelow = 0.1,
- XFColor color=XFColor(0,0,0)
+ double spaceAbove,
+ double spaceBelow,
+ XFColor color
);
virtual enumXFStyle GetStyleFamily() override;
diff --git a/rsc/inc/rsccont.hxx b/rsc/inc/rsccont.hxx
index d7f58d4c78e9..07f29fd9b5d1 100644
--- a/rsc/inc/rsccont.hxx
+++ b/rsc/inc/rsccont.hxx
@@ -55,8 +55,8 @@ protected:
RscTypCont * pTC, sal_uInt32, bool bExtra );
public:
RscBaseCont( Atom nId, sal_uInt32 nTypId,
- RscTop * pSuper = nullptr,
- bool bNoId = true );
+ RscTop * pSuper,
+ bool bNoId );
virtual ~RscBaseCont() override;
virtual RSCCLASS_TYPE GetClassType() const override;
void SetTypeClass( RscTop * pClass, RscTop * pClass1 = nullptr )