diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-04 13:37:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-07 06:39:05 +0000 |
commit | 27513d4df50f6d18b585f4cbec6a4dd3f9b432cc (patch) | |
tree | 92b1d636fae62968195b253bc02f936968734c9a /sc/inc | |
parent | 7f509501e9b042aeae0cdcc8e267550a45ab43c2 (diff) |
loplugin:expandablemethods in sc
Change-Id: Ib417c5e978fca563f8c0ef0dbe6b9d50fead9828
Reviewed-on: https://gerrit.libreoffice.org/30566
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/attarray.hxx | 1 | ||||
-rw-r--r-- | sc/inc/cellsuno.hxx | 3 | ||||
-rw-r--r-- | sc/inc/chgtrack.hxx | 10 | ||||
-rw-r--r-- | sc/inc/column.hxx | 1 | ||||
-rw-r--r-- | sc/inc/dociter.hxx | 1 | ||||
-rw-r--r-- | sc/inc/document.hxx | 4 | ||||
-rw-r--r-- | sc/inc/dptabsrc.hxx | 4 | ||||
-rw-r--r-- | sc/inc/edittextiterator.hxx | 4 | ||||
-rw-r--r-- | sc/inc/filtopt.hxx | 2 |
9 files changed, 0 insertions, 30 deletions
diff --git a/sc/inc/attarray.hxx b/sc/inc/attarray.hxx index f22bc3444478..2b440402e0d0 100644 --- a/sc/inc/attarray.hxx +++ b/sc/inc/attarray.hxx @@ -169,7 +169,6 @@ public: void FindStyleSheet( const SfxStyleSheetBase* pStyleSheet, ScFlatBoolRowSegments& rUsedRows, bool bReset ); bool IsStyleSheetUsed( const ScStyleSheet& rStyle ) const; - void DeleteAreaSafe(SCROW nStartRow, SCROW nEndRow); void SetPatternAreaSafe( SCROW nStartRow, SCROW nEndRow, const ScPatternAttr* pWantedPattern, bool bDefault ); void CopyAreaSafe( SCROW nStartRow, SCROW nEndRow, long nDy, ScAttrArray& rAttrArray ); diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx index 4b8072bfaaab..3dcbc82266de 100644 --- a/sc/inc/cellsuno.hxx +++ b/sc/inc/cellsuno.hxx @@ -1484,9 +1484,6 @@ private: ScRange aTotalRange; ScMyRangeLists aRangeLists; -private: - void GetObjects_Impl(); - public: ScUniqueCellFormatsObj(ScDocShell* pDocSh, const ScRange& rR); virtual ~ScUniqueCellFormatsObj() override; diff --git a/sc/inc/chgtrack.hxx b/sc/inc/chgtrack.hxx index 2102dcefc906..aea3fe6ccfb7 100644 --- a/sc/inc/chgtrack.hxx +++ b/sc/inc/chgtrack.hxx @@ -263,18 +263,10 @@ protected: pLnk->SetLink( pL ); } - void RemoveAllAnyLinks(); - virtual ScChangeActionLinkEntry* GetDeletedIn() const { return pLinkDeletedIn; } virtual ScChangeActionLinkEntry** GetDeletedInAddress() { return &pLinkDeletedIn; } - ScChangeActionLinkEntry* AddDeletedIn( ScChangeAction* p ) - { - return new ScChangeActionLinkEntry( - GetDeletedInAddress(), p ); - } - bool RemoveDeletedIn( const ScChangeAction* ); void SetDeletedIn( ScChangeAction* ); @@ -283,8 +275,6 @@ protected: return new ScChangeActionLinkEntry(&pLinkDeleted, p); } - void RemoveAllDeleted(); - ScChangeActionLinkEntry* AddDependent( ScChangeAction* p ) { return new ScChangeActionLinkEntry(&pLinkDependent, p); diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx index 5ae6bb44692f..345dea26004f 100644 --- a/sc/inc/column.hxx +++ b/sc/inc/column.hxx @@ -221,7 +221,6 @@ public: bool IsEmptyData() const; bool IsEmptyAttr() const; - bool IsEmpty() const; // data only: bool IsEmptyBlock(SCROW nStartRow, SCROW nEndRow) const; diff --git a/sc/inc/dociter.hxx b/sc/inc/dociter.hxx index cb24ad1bd662..0f48baecb3ae 100644 --- a/sc/inc/dociter.hxx +++ b/sc/inc/dociter.hxx @@ -71,7 +71,6 @@ class ScValueIterator // walk through all values in an area SCROW GetRow() const; void IncBlock(); void IncPos(); - void SetPos(size_t nPos); /** * See if the cell at the current position is a non-empty cell. If not, diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 4e4e8c43934b..fac198f3dcbe 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -504,7 +504,6 @@ public: void GetDocStat( ScDocStat& rDocStat ); SC_DLLPUBLIC void InitDrawLayer( SfxObjectShell* pDocShell = nullptr ); - rtl::Reference<XColorList> GetColorList(); SC_DLLPUBLIC sfx2::LinkManager* GetLinkManager(); SC_DLLPUBLIC const sfx2::LinkManager* GetLinkManager() const; @@ -541,7 +540,6 @@ public: */ SC_DLLPUBLIC void GetAllTabRangeNames(ScRangeName::TabNameCopyMap& rRangeNames) const; SC_DLLPUBLIC void SetAllRangeNames(const std::map<OUString, std::unique_ptr<ScRangeName>>& rRangeMap); - SC_DLLPUBLIC void GetTabRangeNameMap(std::map<OUString, ScRangeName*>& rRangeName); SC_DLLPUBLIC void GetRangeNameMap(std::map<OUString, ScRangeName*>& rRangeName); SC_DLLPUBLIC ScRangeName* GetRangeName(SCTAB nTab) const; SC_DLLPUBLIC ScRangeName* GetRangeName() const; @@ -2327,8 +2325,6 @@ private: void DeleteDrawLayer(); SC_DLLPUBLIC bool DrawGetPrintArea( ScRange& rRange, bool bSetHor, bool bSetVer ) const; - void DrawMovePage( sal_uInt16 nOldPos, sal_uInt16 nNewPos ); - void DrawCopyPage( sal_uInt16 nOldPos, sal_uInt16 nNewPos ); void UpdateDrawPrinter(); void UpdateDrawLanguages(); diff --git a/sc/inc/dptabsrc.hxx b/sc/inc/dptabsrc.hxx index 035aa1b85b01..99c23f8f9ccc 100644 --- a/sc/inc/dptabsrc.hxx +++ b/sc/inc/dptabsrc.hxx @@ -161,7 +161,6 @@ public: OUString GetDataDimName(long nIndex); const ScDPCache* GetCache(); const ScDPItemData* GetItemDataById( long nDim, long nId ); - SCROW GetMemberId( long nDim, const ScDPItemData& rData ); bool IsDataLayoutDimension(long nDim); sal_uInt16 GetDataLayoutOrientation(); @@ -395,8 +394,6 @@ public: throw(css::uno::RuntimeException, std::exception) override; sal_uInt16 getOrientation() const; - void setOrientation(sal_uInt16 nNew); - long getPosition() const; bool getIsDataLayoutDimension() const; sal_uInt16 getFunction() const { return nFunction;} void setFunction(sal_uInt16 nNew); // for data dimension @@ -709,7 +706,6 @@ public: sal_Int32 GetIndexFromName( const OUString& rName ) const; // <0 if not found const ScDPItemData* GetSrcItemDataByIndex( SCROW nIndex); - SCROW GetSrcItemsCount(); private: css::uno::Sequence< OUString > getElementNames( bool bLocaleIndependent ) const diff --git a/sc/inc/edittextiterator.hxx b/sc/inc/edittextiterator.hxx index f64b7f4a7eee..4f5ba73399db 100644 --- a/sc/inc/edittextiterator.hxx +++ b/sc/inc/edittextiterator.hxx @@ -39,10 +39,6 @@ class EditTextIterator */ const EditTextObject* seek(); - /** - * Increment current position by one. - */ - void incPos(); void incBlock(); /** * Initialize members w.r.t the dynamic column container in the given table. diff --git a/sc/inc/filtopt.hxx b/sc/inc/filtopt.hxx index 6a4bb2ec3eb0..b1c48c6dc9bc 100644 --- a/sc/inc/filtopt.hxx +++ b/sc/inc/filtopt.hxx @@ -32,8 +32,6 @@ private: double fExcelColScale; double fExcelRowScale; - static css::uno::Sequence<OUString> GetPropertyNames(); - virtual void ImplCommit() override; public: |