summaryrefslogtreecommitdiff
path: root/include/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-02 16:34:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-05 05:54:31 +0000
commitfe3e1067bfa8d62d2a43c7ea227d87327ee020d2 (patch)
tree6759711f55c23b85b6c2bc3916c4a87b01f7b627 /include/editeng
parent8cf59c674326d93de049ffe2c1d73d7f32e70d37 (diff)
loplugin:countusersofdefaultparams in include/drawinglayer..i18nlangtag
Change-Id: I081ed66a88fc11648f5c63919c3de2a71f1afd59 Reviewed-on: https://gerrit.libreoffice.org/31556 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/bulletitem.hxx4
-rw-r--r--include/editeng/editeng.hxx2
-rw-r--r--include/editeng/flditem.hxx4
-rw-r--r--include/editeng/outlobj.hxx2
-rw-r--r--include/editeng/paperinf.hxx2
-rw-r--r--include/editeng/splwrap.hxx4
-rw-r--r--include/editeng/svxacorr.hxx2
-rw-r--r--include/editeng/svxrtf.hxx4
-rw-r--r--include/editeng/unoedhlp.hxx2
-rw-r--r--include/editeng/unoforou.hxx2
10 files changed, 14 insertions, 14 deletions
diff --git a/include/editeng/bulletitem.hxx b/include/editeng/bulletitem.hxx
index 3d75512d2b5c..98c872be7119 100644
--- a/include/editeng/bulletitem.hxx
+++ b/include/editeng/bulletitem.hxx
@@ -60,8 +60,8 @@ class EDITENG_DLLPUBLIC SvxBulletItem : public SfxPoolItem
public:
static SfxPoolItem* CreateDefault();
- explicit SvxBulletItem( sal_uInt16 nWhich = 0 );
- explicit SvxBulletItem( SvStream& rStrm, sal_uInt16 nWhich = 0 );
+ explicit SvxBulletItem( sal_uInt16 nWhich );
+ explicit SvxBulletItem( SvStream& rStrm, sal_uInt16 nWhich );
SvxBulletItem( const SvxBulletItem& );
virtual ~SvxBulletItem() override;
diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx
index 2b4f23663193..f95b798f9100 100644
--- a/include/editeng/editeng.hxx
+++ b/include/editeng/editeng.hxx
@@ -399,7 +399,7 @@ public:
void QuickDelete( const ESelection& rSel );
void QuickMarkToBeRepainted( sal_Int32 nPara );
- void SetGlobalCharStretching( sal_uInt16 nX, sal_uInt16 nY = 100 );
+ void SetGlobalCharStretching( sal_uInt16 nX, sal_uInt16 nY );
void GetGlobalCharStretching( sal_uInt16& rX, sal_uInt16& rY ) const;
void SetEditTextObjectPool( SfxItemPool* pPool );
diff --git a/include/editeng/flditem.hxx b/include/editeng/flditem.hxx
index 272b919dc8a5..d7c43ff860ee 100644
--- a/include/editeng/flditem.hxx
+++ b/include/editeng/flditem.hxx
@@ -115,7 +115,7 @@ public:
SvxDateField();
explicit SvxDateField( const Date& rDate,
- SvxDateType eType = SVXDATETYPE_VAR,
+ SvxDateType eType,
SvxDateFormat eFormat = SVXDATEFORMAT_STDSMALL );
sal_Int32 GetFixDate() const { return nFixDate; }
@@ -274,7 +274,7 @@ public:
SV_DECL_PERSIST1( SvxExtTimeField, SvxFieldData, css::text::textfield::Type::EXTENDED_TIME )
SvxExtTimeField();
explicit SvxExtTimeField( const tools::Time& rTime,
- SvxTimeType eType = SVXTIMETYPE_VAR,
+ SvxTimeType eType,
SvxTimeFormat eFormat = SVXTIMEFORMAT_STANDARD );
sal_Int64 GetFixTime() const { return m_nFixTime; }
diff --git a/include/editeng/outlobj.hxx b/include/editeng/outlobj.hxx
index 6bde289e7f73..86a10e1fddab 100644
--- a/include/editeng/outlobj.hxx
+++ b/include/editeng/outlobj.hxx
@@ -60,7 +60,7 @@ class EDITENG_DLLPUBLIC OutlinerParaObject
public:
// constructors/destructor
- OutlinerParaObject( const EditTextObject&, const ParagraphDataVector&, bool bIsEditDoc = true);
+ OutlinerParaObject( const EditTextObject&, const ParagraphDataVector&, bool bIsEditDoc);
OutlinerParaObject( const EditTextObject&);
OutlinerParaObject( const OutlinerParaObject&);
~OutlinerParaObject();
diff --git a/include/editeng/paperinf.hxx b/include/editeng/paperinf.hxx
index 8b0d45469454..490c54fba82f 100644
--- a/include/editeng/paperinf.hxx
+++ b/include/editeng/paperinf.hxx
@@ -39,7 +39,7 @@ public:
static Size GetDefaultPaperSize( MapUnit eUnit = MapUnit::MapTwip );
static Size GetPaperSize( Paper ePaper, MapUnit eUnit = MapUnit::MapTwip );
static Size GetPaperSize( const Printer* pPrinter );
- static Paper GetSvxPaper( const Size &rSize, MapUnit eUnit, bool bSloppy = false );
+ static Paper GetSvxPaper( const Size &rSize, MapUnit eUnit, bool bSloppy );
static long GetSloppyPaperDimension( long nSize );
static OUString GetName( Paper ePaper );
};
diff --git a/include/editeng/splwrap.hxx b/include/editeng/splwrap.hxx
index b6b651ae64f4..1dd09472efd4 100644
--- a/include/editeng/splwrap.hxx
+++ b/include/editeng/splwrap.hxx
@@ -74,10 +74,10 @@ private:
public:
SvxSpellWrapper( vcl::Window* pWn,
- const bool bStart = false, const bool bIsAllRight = false );
+ const bool bStart, const bool bIsAllRight );
SvxSpellWrapper( vcl::Window* pWn,
css::uno::Reference< css::linguistic2::XHyphenator > &xHyphenator,
- const bool bStart = false, const bool bOther = false );
+ const bool bStart, const bool bOther );
virtual ~SvxSpellWrapper();
diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx
index dbe2704ba728..beecd96cf31b 100644
--- a/include/editeng/svxacorr.hxx
+++ b/include/editeng/svxacorr.hxx
@@ -347,7 +347,7 @@ public:
// Load, Set, Get - the exception list for capital letters at the
// beginning of a sentence
- void SaveCplSttExceptList( LanguageType eLang = LANGUAGE_SYSTEM );
+ void SaveCplSttExceptList( LanguageType eLang );
SvStringsISortDtor* LoadCplSttExceptList(LanguageType eLang)
{ return GetLanguageList_( eLang ).LoadCplSttExceptList(); }
const SvStringsISortDtor* GetCplSttExceptList( LanguageType eLang )
diff --git a/include/editeng/svxrtf.hxx b/include/editeng/svxrtf.hxx
index 1018440b7b14..2698699e598f 100644
--- a/include/editeng/svxrtf.hxx
+++ b/include/editeng/svxrtf.hxx
@@ -59,7 +59,7 @@ class ContentNode;
class EditNodeIdx
{
public:
- EditNodeIdx(EditEngine* pEE, ContentNode* pNd = nullptr);
+ EditNodeIdx(EditEngine* pEE, ContentNode* pNd);
~EditNodeIdx() {}
sal_Int32 GetIdx() const;
EditNodeIdx* Clone() const; // Cloning itself
@@ -343,7 +343,7 @@ class EDITENG_DLLPUBLIC SvxRTFItemStackType
public:
SvxRTFItemStackType( const SvxRTFItemStackType&, const EditPosition&,
- bool bCopyAttr = false );
+ bool bCopyAttr );
~SvxRTFItemStackType();
//cmc, I'm very suspicios about SetStartPos, it doesn't change
//its children's starting position, and the implementation looks
diff --git a/include/editeng/unoedhlp.hxx b/include/editeng/unoedhlp.hxx
index 995b50d41f39..ca8dac26fcb0 100644
--- a/include/editeng/unoedhlp.hxx
+++ b/include/editeng/unoedhlp.hxx
@@ -46,7 +46,7 @@ private:
public:
SvxEditSourceHint( sal_uInt32 nId );
- SvxEditSourceHint( sal_uInt32 nId, sal_uLong nValue, sal_Int32 nStart=0, sal_Int32 nEnd=0 );
+ SvxEditSourceHint( sal_uInt32 nId, sal_uLong nValue, sal_Int32 nStart, sal_Int32 nEnd );
using TextHint::GetValue;
sal_Int32 GetStartValue() const { return mnStart;}
diff --git a/include/editeng/unoforou.hxx b/include/editeng/unoforou.hxx
index 151564cf8a04..1efbefa99d1c 100644
--- a/include/editeng/unoforou.hxx
+++ b/include/editeng/unoforou.hxx
@@ -50,7 +50,7 @@ private:
mutable sal_Int32 mnParaAttribsCache;
public:
- SvxOutlinerForwarder( Outliner& rOutl, bool bOutlText = false );
+ SvxOutlinerForwarder( Outliner& rOutl, bool bOutlText );
virtual ~SvxOutlinerForwarder() override;
virtual sal_Int32 GetParagraphCount() const override;