summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-10 09:15:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-10 12:13:31 +0200
commit95ceaa5c5572690e220cfac80fbaff8eb68dd940 (patch)
tree90346b9d1b28e4d0d924d352329c27416db3d9ff /sc/inc
parent60cfdb9af53d4c5c976b52e3bf41bb54c779d169 (diff)
loplugin:checkunusedparams in sc(part2)
Change-Id: I1d54d16dbe5648a21baa9bf96444e60fcd034c81 Reviewed-on: https://gerrit.libreoffice.org/37457 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/document.hxx2
-rw-r--r--sc/inc/dpcache.hxx1
-rw-r--r--sc/inc/dpfilteredcache.hxx1
-rw-r--r--sc/inc/dpobject.hxx2
-rw-r--r--sc/inc/dpresfilter.hxx6
-rw-r--r--sc/inc/dptabsrc.hxx2
-rw-r--r--sc/inc/table.hxx2
7 files changed, 5 insertions, 11 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 27bb73d9ea29..26547d24ced4 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -1293,7 +1293,7 @@ public:
SC_DLLPUBLIC bool GetPrintArea( SCTAB nTab, SCCOL& rEndCol, SCROW& rEndRow,
bool bNotes = true ) const;
SC_DLLPUBLIC bool GetPrintAreaHor( SCTAB nTab, SCROW nStartRow, SCROW nEndRow,
- SCCOL& rEndCol, bool bNotes ) const;
+ SCCOL& rEndCol ) const;
SC_DLLPUBLIC bool GetPrintAreaVer( SCTAB nTab, SCCOL nStartCol, SCCOL nEndCol,
SCROW& rEndRow, bool bNotes ) const;
void InvalidateTableArea();
diff --git a/sc/inc/dpcache.hxx b/sc/inc/dpcache.hxx
index bee579f59a10..60a23002b770 100644
--- a/sc/inc/dpcache.hxx
+++ b/sc/inc/dpcache.hxx
@@ -161,7 +161,6 @@ public:
sal_uInt32 GetNumberFormat( long nDim ) const;
bool IsDateDimension( long nDim ) const ;
long GetDimMemberCount(long nDim) const;
- static SCROW GetOrder( long nDim, SCROW nIndex );
const IndexArrayType* GetFieldIndexArray( size_t nDim ) const;
const ScDPItemDataVec& GetDimMemberValues( SCCOL nDim ) const;
diff --git a/sc/inc/dpfilteredcache.hxx b/sc/inc/dpfilteredcache.hxx
index 9c4a94b0056e..33205ac2dd9a 100644
--- a/sc/inc/dpfilteredcache.hxx
+++ b/sc/inc/dpfilteredcache.hxx
@@ -136,7 +136,6 @@ public:
css::uno::Sequence< css::uno::Sequence< css::uno::Any > >& rTabData,
const std::unordered_set<sal_Int32>& rRepeatIfEmptyDims);
- static SCROW getOrder(long nDim, SCROW nIndex);
void clear();
bool empty() const;
diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx
index 2baea36b7654..9e02cfd8f0df 100644
--- a/sc/inc/dpobject.hxx
+++ b/sc/inc/dpobject.hxx
@@ -139,7 +139,7 @@ public:
void SetHeaderLayout(bool bUseGrid);
bool GetHeaderLayout() const { return mbHeaderLayout;}
- void SetSheetDesc(const ScSheetSourceDesc& rDesc, bool bFromRefUpdate = false);
+ void SetSheetDesc(const ScSheetSourceDesc& rDesc);
void SetImportDesc(const ScImportSourceDesc& rDesc);
void SetServiceData(const ScDPServiceDesc& rDesc);
diff --git a/sc/inc/dpresfilter.hxx b/sc/inc/dpresfilter.hxx
index 0ab75d433b88..669710985887 100644
--- a/sc/inc/dpresfilter.hxx
+++ b/sc/inc/dpresfilter.hxx
@@ -112,13 +112,9 @@ public:
* by row dimension order then by column dimension order.
*
* @param rFilter set of filters.
- * @param nCol column position relative to the top-left cell within the
- * data field range.
- * @param nRow row position relative to the top-left cell within the data
- * field range.
* @param fVal result value, as displayed in the table output.
*/
- void add(const std::vector<ScDPResultFilter>& rFilter, long nCol, long nRow, double fVal);
+ void add(const std::vector<ScDPResultFilter>& rFilter, double fVal);
void swap(ScDPResultTree& rOther);
diff --git a/sc/inc/dptabsrc.hxx b/sc/inc/dptabsrc.hxx
index 10277c888a41..c46a164ea89d 100644
--- a/sc/inc/dptabsrc.hxx
+++ b/sc/inc/dptabsrc.hxx
@@ -170,7 +170,7 @@ public:
bool SubTotalAllowed(long nColumn); //! move to ScDPResultData
- ScDPDimension* AddDuplicated(long nSource, const OUString& rNewName);
+ ScDPDimension* AddDuplicated(const OUString& rNewName);
long GetDupCount() const { return nDupCount; }
long GetSourceDim(long nDim);
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index dda88eacdd81..ecbdb580f37a 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -524,7 +524,7 @@ public:
bool GetTableArea( SCCOL& rEndCol, SCROW& rEndRow ) const;
bool GetPrintArea( SCCOL& rEndCol, SCROW& rEndRow, bool bNotes ) const;
bool GetPrintAreaHor( SCROW nStartRow, SCROW nEndRow,
- SCCOL& rEndCol, bool bNotes ) const;
+ SCCOL& rEndCol ) const;
bool GetPrintAreaVer( SCCOL nStartCol, SCCOL nEndCol,
SCROW& rEndRow, bool bNotes ) const;