summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-15 14:49:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-16 04:19:15 +0200
commit774f033f86b3728123842321f21b10b400cf6b9a (patch)
treeba0d3ae232913d224c66984085ea40240c7570d9 /sc/source/ui/inc
parent509c91aca5a9e89e9453082486ac7d67f649a7f5 (diff)
loplugin:checkunusedparams in sc(part5)
Change-Id: If969b989ed16e58fba26ae0fec06759da855a5ad Reviewed-on: https://gerrit.libreoffice.org/37646 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/acredlin.hxx5
-rw-r--r--sc/source/ui/inc/autofmt.hxx2
-rw-r--r--sc/source/ui/inc/docfunc.hxx10
-rw-r--r--sc/source/ui/inc/tabcont.hxx4
4 files changed, 10 insertions, 11 deletions
diff --git a/sc/source/ui/inc/acredlin.hxx b/sc/source/ui/inc/acredlin.hxx
index 90525c51f356..f6917ed1f91e 100644
--- a/sc/source/ui/inc/acredlin.hxx
+++ b/sc/source/ui/inc/acredlin.hxx
@@ -120,7 +120,7 @@ protected:
OUString* MakeTypeString(ScChangeActionType eType);
SvTreeListEntry* AppendChangeAction(
- const ScChangeAction* pScChangeAction,ScChangeActionState eState,
+ const ScChangeAction* pScChangeAction,
SvTreeListEntry* pParent=nullptr,bool bDelMaster = false,
bool bDisabled = false);
@@ -145,8 +145,7 @@ protected:
bool InsertChildren( ScChangeActionMap* pActionMap, SvTreeListEntry* pParent );
- void AppendChanges(ScChangeTrack* pChanges,sal_uLong nStartAction, sal_uLong nEndAction,
- sal_uLong nPos=TREELIST_APPEND);
+ void AppendChanges(ScChangeTrack* pChanges,sal_uLong nStartAction, sal_uLong nEndAction);
void RemoveEntrys(sal_uLong nStartAction,sal_uLong nEndAction);
void UpdateEntrys(ScChangeTrack* pChgTrack, sal_uLong nStartAction,sal_uLong nEndAction);
diff --git a/sc/source/ui/inc/autofmt.hxx b/sc/source/ui/inc/autofmt.hxx
index 8df8a45c3a64..17be4ab7d0e5 100644
--- a/sc/source/ui/inc/autofmt.hxx
+++ b/sc/source/ui/inc/autofmt.hxx
@@ -76,7 +76,7 @@ private:
SvNumberFormatter* pNumFmt;
SAL_DLLPRIVATE void Init();
- SAL_DLLPRIVATE void DoPaint(vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect);
+ SAL_DLLPRIVATE void DoPaint(vcl::RenderContext& rRenderContext);
SAL_DLLPRIVATE void CalcCellArray(bool bFitWidth);
SAL_DLLPRIVATE void CalcLineMap();
SAL_DLLPRIVATE void PaintCells(vcl::RenderContext& rRenderContext);
diff --git a/sc/source/ui/inc/docfunc.hxx b/sc/source/ui/inc/docfunc.hxx
index db006875c3c2..a2010c4ac6c3 100644
--- a/sc/source/ui/inc/docfunc.hxx
+++ b/sc/source/ui/inc/docfunc.hxx
@@ -134,27 +134,27 @@ public:
SC_DLLPUBLIC bool InsertTable( SCTAB nTab, const OUString& rName, bool bRecord, bool bApi );
bool RenameTable( SCTAB nTab, const OUString& rName, bool bRecord, bool bApi );
- bool DeleteTable( SCTAB nTab, bool bRecord, bool bApi );
+ bool DeleteTable( SCTAB nTab, bool bRecord );
bool SetTabBgColor( SCTAB nTab, const Color& rColor, bool bRecord, bool bApi );
bool SetTabBgColor( ScUndoTabColorInfo::List& rUndoTabColorList, bool bApi );
void SetTableVisible( SCTAB nTab, bool bVisible, bool bApi );
- bool SetLayoutRTL( SCTAB nTab, bool bRTL, bool bApi );
+ bool SetLayoutRTL( SCTAB nTab, bool bRTL );
SC_DLLPUBLIC bool SetWidthOrHeight(
bool bWidth, const std::vector<sc::ColRowSpan>& rRanges, SCTAB nTab,
ScSizeMode eMode, sal_uInt16 nSizeTwips, bool bRecord, bool bApi );
bool InsertPageBreak( bool bColumn, const ScAddress& rPos,
- bool bRecord, bool bSetModified, bool bApi );
+ bool bRecord, bool bSetModified );
bool RemovePageBreak( bool bColumn, const ScAddress& rPos,
- bool bRecord, bool bSetModified, bool bApi );
+ bool bRecord, bool bSetModified );
void ProtectSheet( SCTAB nTab, const ScTableProtection& rProtect );
- bool Protect( SCTAB nTab, const OUString& rPassword, bool bApi );
+ bool Protect( SCTAB nTab, const OUString& rPassword );
bool Unprotect( SCTAB nTab, const OUString& rPassword, bool bApi );
void ClearItems( const ScMarkData& rMark, const sal_uInt16* pWhich, bool bApi );
diff --git a/sc/source/ui/inc/tabcont.hxx b/sc/source/ui/inc/tabcont.hxx
index 5434c7b61259..f21e87df6c23 100644
--- a/sc/source/ui/inc/tabcont.hxx
+++ b/sc/source/ui/inc/tabcont.hxx
@@ -37,9 +37,9 @@ private:
sal_uInt16 nSelPageIdByMouse; /// Selected page ID, if selected with mouse
bool bErrorShown;
- void DoDrag( const vcl::Region& rRegion );
+ void DoDrag();
- sal_uInt16 GetMaxId() const;
+ sal_uInt16 GetMaxId() const;
SCTAB GetPrivatDropPos(const Point& rPos );
DECL_LINK(ShowPageList, const CommandEvent&, void);