summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-31 10:11:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-31 10:03:24 +0000
commit442eacc4e186db3cc941f7cba28ac1692d601ea2 (patch)
tree47e3df64ebfbeb596768eba2edf23f9366f86fff /sc/source/ui
parent04bfdc0a82c306dbe16e7d79e78f2b1c8fd05475 (diff)
loplugin:countusersofdefaultparams in sc(part1)
Change-Id: Ia2b0174654fad536ee23f6174a0b38b1843a4aa5 Reviewed-on: https://gerrit.libreoffice.org/30427 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/inc/anyrefdg.hxx4
-rw-r--r--sc/source/ui/inc/corodlg.hxx4
-rw-r--r--sc/source/ui/inc/delcldlg.hxx2
-rw-r--r--sc/source/ui/inc/delcodlg.hxx2
-rw-r--r--sc/source/ui/inc/groupdlg.hxx2
-rw-r--r--sc/source/ui/inc/inscldlg.hxx4
-rw-r--r--sc/source/ui/inc/inscodlg.hxx8
-rw-r--r--sc/source/ui/inc/mtrindlg.hxx14
-rw-r--r--sc/source/ui/inc/namepast.hxx2
-rw-r--r--sc/source/ui/inc/redcom.hxx2
-rw-r--r--sc/source/ui/inc/scendlg.hxx2
-rw-r--r--sc/source/ui/inc/scuiimoptdlg.hxx14
-rw-r--r--sc/source/ui/inc/undocell.hxx4
-rw-r--r--sc/source/ui/view/gridwin.cxx2
14 files changed, 33 insertions, 33 deletions
diff --git a/sc/source/ui/inc/anyrefdg.hxx b/sc/source/ui/inc/anyrefdg.hxx
index da218c6bdea6..963036a1d7ef 100644
--- a/sc/source/ui/inc/anyrefdg.hxx
+++ b/sc/source/ui/inc/anyrefdg.hxx
@@ -175,10 +175,10 @@ private:
TParentWindow* pParent, const OUString& rID, const OUString& rUIXMLDescription );
template<class TParentWindow, class TResId, class TArg>
- ScRefHdlrImplBase( TParentWindow* pParent, TResId nResId, const TArg &rArg, SfxBindings *pB = nullptr );
+ ScRefHdlrImplBase( TParentWindow* pParent, TResId nResId, const TArg &rArg, SfxBindings *pB );
template<class TParentWindow, class TArg>
- ScRefHdlrImplBase( TParentWindow* pParent, const OUString& rID, const OUString& rUIXMLDescription, const TArg &rArg, SfxBindings *pB = nullptr );
+ ScRefHdlrImplBase( TParentWindow* pParent, const OUString& rID, const OUString& rUIXMLDescription, const TArg &rArg, SfxBindings *pB );
virtual ~ScRefHdlrImplBase() override;
diff --git a/sc/source/ui/inc/corodlg.hxx b/sc/source/ui/inc/corodlg.hxx
index a7d185416d0e..f9f876f418d3 100644
--- a/sc/source/ui/inc/corodlg.hxx
+++ b/sc/source/ui/inc/corodlg.hxx
@@ -27,8 +27,8 @@ class ScColRowLabelDlg : public ModalDialog
{
public:
ScColRowLabelDlg(vcl::Window* pParent,
- bool bCol = false,
- bool bRow = false)
+ bool bCol,
+ bool bRow)
: ModalDialog(pParent, "ChangeSourceDialog",
"modules/scalc/ui/changesourcedialog.ui")
{
diff --git a/sc/source/ui/inc/delcldlg.hxx b/sc/source/ui/inc/delcldlg.hxx
index 5064958c7ff1..d2c3ac363b4c 100644
--- a/sc/source/ui/inc/delcldlg.hxx
+++ b/sc/source/ui/inc/delcldlg.hxx
@@ -35,7 +35,7 @@ private:
VclPtr<RadioButton> m_pBtnDelCols;
public:
- ScDeleteCellDlg(vcl::Window* pParent, bool bDisallowCellMove = false);
+ ScDeleteCellDlg(vcl::Window* pParent, bool bDisallowCellMove);
virtual ~ScDeleteCellDlg() override;
virtual void dispose() override;
diff --git a/sc/source/ui/inc/delcodlg.hxx b/sc/source/ui/inc/delcodlg.hxx
index f2122ead7846..6b3eda814a2b 100644
--- a/sc/source/ui/inc/delcodlg.hxx
+++ b/sc/source/ui/inc/delcodlg.hxx
@@ -47,7 +47,7 @@ private:
public:
ScDeleteContentsDlg( vcl::Window* pParent,
- InsertDeleteFlags nCheckDefaults = InsertDeleteFlags::NONE );
+ InsertDeleteFlags nCheckDefaults );
virtual ~ScDeleteContentsDlg() override;
virtual void dispose() override;
void DisableObjects();
diff --git a/sc/source/ui/inc/groupdlg.hxx b/sc/source/ui/inc/groupdlg.hxx
index fda836717a49..47cc587a375c 100644
--- a/sc/source/ui/inc/groupdlg.hxx
+++ b/sc/source/ui/inc/groupdlg.hxx
@@ -27,7 +27,7 @@
class ScGroupDlg : public ModalDialog
{
public:
- ScGroupDlg(vcl::Window* pParent, bool bUnGroup = false, bool bRows = true);
+ ScGroupDlg(vcl::Window* pParent, bool bUnGroup, bool bRows);
virtual ~ScGroupDlg() override;
virtual void dispose() override;
bool GetColsChecked() const;
diff --git a/sc/source/ui/inc/inscldlg.hxx b/sc/source/ui/inc/inscldlg.hxx
index 53e7f04c7360..1cd229d7089b 100644
--- a/sc/source/ui/inc/inscldlg.hxx
+++ b/sc/source/ui/inc/inscldlg.hxx
@@ -35,8 +35,8 @@ private:
VclPtr<RadioButton> m_pBtnInsCol;
public:
- ScInsertCellDlg( vcl::Window* pParent,bool bDisallowCellMove = false );
- virtual ~ScInsertCellDlg() override;
+ ScInsertCellDlg( vcl::Window* pParent, bool bDisallowCellMove );
+ virtual ~ScInsertCellDlg() override;
virtual void dispose() override;
InsCellCmd GetInsCellCmd() const;
diff --git a/sc/source/ui/inc/inscodlg.hxx b/sc/source/ui/inc/inscodlg.hxx
index 24897a7e775a..0927360680c5 100644
--- a/sc/source/ui/inc/inscodlg.hxx
+++ b/sc/source/ui/inc/inscodlg.hxx
@@ -30,10 +30,10 @@
class ScInsertContentsDlg : public ModalDialog
{
public:
- ScInsertContentsDlg( vcl::Window* pParent,
- InsertDeleteFlags nCheckDefaults = InsertDeleteFlags::NONE,
- const OUString* pStrTitle = nullptr );
- virtual ~ScInsertContentsDlg() override;
+ ScInsertContentsDlg( vcl::Window* pParent,
+ InsertDeleteFlags nCheckDefaults,
+ const OUString* pStrTitle );
+ virtual ~ScInsertContentsDlg() override;
virtual void dispose() override;
InsertDeleteFlags GetInsContentsCmdBits() const;
diff --git a/sc/source/ui/inc/mtrindlg.hxx b/sc/source/ui/inc/mtrindlg.hxx
index f6815065d798..9fd3c23530d5 100644
--- a/sc/source/ui/inc/mtrindlg.hxx
+++ b/sc/source/ui/inc/mtrindlg.hxx
@@ -28,16 +28,16 @@
class ScMetricInputDlg : public ModalDialog
{
public:
- ScMetricInputDlg( vcl::Window* pParent,
+ ScMetricInputDlg( vcl::Window* pParent,
const OString& sDialogName,
long nCurrent,
long nDefault,
- FieldUnit eFUnit = FUNIT_MM,
- sal_uInt16 nDecimals = 2,
- long nMaximum = 1000,
- long nMinimum = 0,
- long nFirst = 1,
- long nLast = 100 );
+ FieldUnit eFUnit,
+ sal_uInt16 nDecimals,
+ long nMaximum,
+ long nMinimum,
+ long nFirst,
+ long nLast );
virtual ~ScMetricInputDlg() override;
virtual void dispose() override;
diff --git a/sc/source/ui/inc/namepast.hxx b/sc/source/ui/inc/namepast.hxx
index 4ae4fa18d88a..b43b34a9b8a8 100644
--- a/sc/source/ui/inc/namepast.hxx
+++ b/sc/source/ui/inc/namepast.hxx
@@ -49,7 +49,7 @@ private:
std::map<OUString, std::unique_ptr<ScRangeName>> m_RangeMap;
public:
- ScNamePasteDlg( vcl::Window * pParent, ScDocShell* pShell, bool bInsList=true );
+ ScNamePasteDlg( vcl::Window * pParent, ScDocShell* pShell, bool bInsList );
virtual ~ScNamePasteDlg() override;
virtual void dispose() override;
diff --git a/sc/source/ui/inc/redcom.hxx b/sc/source/ui/inc/redcom.hxx
index ec9edc77efc7..e44437841466 100644
--- a/sc/source/ui/inc/redcom.hxx
+++ b/sc/source/ui/inc/redcom.hxx
@@ -48,7 +48,7 @@ protected:
public:
ScRedComDialog( vcl::Window* pParent, const SfxItemSet& rCoreSet,
- ScDocShell *pShell, ScChangeAction *pAction, bool bPrevNext = false);
+ ScDocShell *pShell, ScChangeAction *pAction, bool bPrevNext);
~ScRedComDialog();
void Execute();
diff --git a/sc/source/ui/inc/scendlg.hxx b/sc/source/ui/inc/scendlg.hxx
index 08bac4560f45..e20073c17882 100644
--- a/sc/source/ui/inc/scendlg.hxx
+++ b/sc/source/ui/inc/scendlg.hxx
@@ -32,7 +32,7 @@ enum class ScScenarioFlags;
class ScNewScenarioDlg : public ModalDialog
{
public:
- ScNewScenarioDlg(vcl::Window* pParent, const OUString& rName, bool bEdit = false, bool bSheetProtected = false);
+ ScNewScenarioDlg(vcl::Window* pParent, const OUString& rName, bool bEdit, bool bSheetProtected);
virtual ~ScNewScenarioDlg() override;
virtual void dispose() override;
void SetScenarioData( const OUString& rName, const OUString& rComment,
diff --git a/sc/source/ui/inc/scuiimoptdlg.hxx b/sc/source/ui/inc/scuiimoptdlg.hxx
index 91a59287444f..02b842ffc36b 100644
--- a/sc/source/ui/inc/scuiimoptdlg.hxx
+++ b/sc/source/ui/inc/scuiimoptdlg.hxx
@@ -28,13 +28,13 @@ class ScDelimiterTable;
class ScImportOptionsDlg : public ModalDialog
{
public:
- ScImportOptionsDlg( vcl::Window* pParent,
- bool bAscii = true,
- const ScImportOptions* pOptions = nullptr,
- const OUString* pStrTitle = nullptr,
- bool bMultiByte = false,
- bool bOnlyDbtoolsEncodings = false,
- bool bImport = true );
+ ScImportOptionsDlg( vcl::Window* pParent,
+ bool bAscii,
+ const ScImportOptions* pOptions,
+ const OUString* pStrTitle,
+ bool bMultiByte,
+ bool bOnlyDbtoolsEncodings,
+ bool bImport );
virtual ~ScImportOptionsDlg() override;
virtual void dispose() override;
diff --git a/sc/source/ui/inc/undocell.hxx b/sc/source/ui/inc/undocell.hxx
index 4c725dc242f7..2eca5ee23328 100644
--- a/sc/source/ui/inc/undocell.hxx
+++ b/sc/source/ui/inc/undocell.hxx
@@ -94,7 +94,7 @@ public:
ScUndoEnterData(
ScDocShell* pNewDocShell, const ScAddress& rPos,
- ValuesType& rOldValues, const OUString& rNewStr, EditTextObject* pObj = nullptr );
+ ValuesType& rOldValues, const OUString& rNewStr, EditTextObject* pObj );
virtual ~ScUndoEnterData() override;
@@ -331,7 +331,7 @@ class ScUndoRangeNames: public ScSimpleUndo
public:
//use nTab = -1 for global range names
ScUndoRangeNames( ScDocShell* pNewDocShell,
- ScRangeName* pOld, ScRangeName* pNew , SCTAB nTab = -1);
+ ScRangeName* pOld, ScRangeName* pNew , SCTAB nTab);
virtual ~ScUndoRangeNames() override;
virtual void Undo() override;
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 48506a8ccd76..ce36e1310d66 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -326,7 +326,7 @@ void ScFilterListBox::SelectHdl()
class ScFilterFloatingWindow : public FloatingWindow
{
public:
- ScFilterFloatingWindow( vcl::Window* pParent, WinBits nStyle = WB_STDFLOATWIN );
+ ScFilterFloatingWindow( vcl::Window* pParent, WinBits nStyle );
virtual ~ScFilterFloatingWindow() override;
virtual void dispose() override;
};