summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-02 11:22:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-15 08:33:29 +0200
commitb3dfb1e807eba91eed35a02d74fe8a917c41ee6f (patch)
tree821c7c364e8550fdba804a45c50524cc9ac83310 /sc/source/ui/inc
parent48fedbfb73fb3bb0abd9f5201d6d7ecc6e9ed6ef (diff)
loplugin:checkunusedparams in sc
Change-Id: Ib4572899caeb7bc2dceb2c188ceb306b8ffc9193 Reviewed-on: https://gerrit.libreoffice.org/40629 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/inc')
-rw-r--r--sc/source/ui/inc/AccessibleCell.hxx3
-rw-r--r--sc/source/ui/inc/AccessiblePreviewCell.hxx3
-rw-r--r--sc/source/ui/inc/AccessibleSpreadsheet.hxx3
-rw-r--r--sc/source/ui/inc/datafdlg.hxx2
-rw-r--r--sc/source/ui/inc/namepast.hxx2
-rw-r--r--sc/source/ui/inc/viewdata.hxx2
6 files changed, 6 insertions, 9 deletions
diff --git a/sc/source/ui/inc/AccessibleCell.hxx b/sc/source/ui/inc/AccessibleCell.hxx
index fdfe812ff2dd..527f6411ba43 100644
--- a/sc/source/ui/inc/AccessibleCell.hxx
+++ b/sc/source/ui/inc/AccessibleCell.hxx
@@ -145,8 +145,7 @@ private:
const css::uno::Reference<css::accessibility::XAccessibleStateSet>& rxParentStates);
virtual bool IsEditable(
const css::uno::Reference<css::accessibility::XAccessibleStateSet>& rxParentStates) override;
- bool IsOpaque(
- const css::uno::Reference<css::accessibility::XAccessibleStateSet>& rxParentStates);
+ bool IsOpaque();
bool IsSelected();
static ScDocument* GetDocument(ScTabViewShell* mpViewShell);
diff --git a/sc/source/ui/inc/AccessiblePreviewCell.hxx b/sc/source/ui/inc/AccessiblePreviewCell.hxx
index e40f0faad7cd..14886e37a127 100644
--- a/sc/source/ui/inc/AccessiblePreviewCell.hxx
+++ b/sc/source/ui/inc/AccessiblePreviewCell.hxx
@@ -91,8 +91,7 @@ private:
const css::uno::Reference<css::accessibility::XAccessibleStateSet>& rxParentStates);
virtual bool IsEditable(
const css::uno::Reference<css::accessibility::XAccessibleStateSet>& rxParentStates) override;
- bool IsOpaque(
- const css::uno::Reference<css::accessibility::XAccessibleStateSet>& rxParentStates);
+ bool IsOpaque();
void CreateTextHelper();
diff --git a/sc/source/ui/inc/AccessibleSpreadsheet.hxx b/sc/source/ui/inc/AccessibleSpreadsheet.hxx
index db7334a43b13..ee488b72c37f 100644
--- a/sc/source/ui/inc/AccessibleSpreadsheet.hxx
+++ b/sc/source/ui/inc/AccessibleSpreadsheet.hxx
@@ -230,8 +230,7 @@ private:
bool IsDefunc(
const css::uno::Reference<css::accessibility::XAccessibleStateSet>& rxParentStates);
- bool IsEditable(
- const css::uno::Reference<css::accessibility::XAccessibleStateSet>& rxParentStates);
+ bool IsEditable();
bool IsFocused();
bool IsCompleteSheetSelected();
diff --git a/sc/source/ui/inc/datafdlg.hxx b/sc/source/ui/inc/datafdlg.hxx
index 754289bc88d1..a752bca6426a 100644
--- a/sc/source/ui/inc/datafdlg.hxx
+++ b/sc/source/ui/inc/datafdlg.hxx
@@ -57,7 +57,7 @@ public:
virtual ~ScDataFormDlg() override;
virtual void dispose() override;
- void FillCtrls(SCROW nCurrentRow);
+ void FillCtrls();
private:
void SetButtonState();
diff --git a/sc/source/ui/inc/namepast.hxx b/sc/source/ui/inc/namepast.hxx
index b43b34a9b8a8..ba460fb70488 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 );
+ ScNamePasteDlg( vcl::Window * pParent, ScDocShell* pShell );
virtual ~ScNamePasteDlg() override;
virtual void dispose() override;
diff --git a/sc/source/ui/inc/viewdata.hxx b/sc/source/ui/inc/viewdata.hxx
index 13d6514bea5c..93df48d61dc1 100644
--- a/sc/source/ui/inc/viewdata.hxx
+++ b/sc/source/ui/inc/viewdata.hxx
@@ -159,7 +159,7 @@ private:
void WriteUserDataSequence(
css::uno::Sequence <css::beans::PropertyValue>& rSettings,
- const ScViewData& rViewData, SCTAB nTab ) const;
+ const ScViewData& rViewData ) const;
void ReadUserDataSequence(
const css::uno::Sequence <css::beans::PropertyValue>& rSettings,