diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-28 10:10:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-29 07:28:57 +0100 |
commit | a566fd1c1a50f9bcb4c69a19bdf4fb1955285d93 (patch) | |
tree | 13273efcf8aa69ce39a1860dc3d111c071e6a7b3 /sc/inc | |
parent | 411260d836e7bf6c693b9b7d16af1b36184133af (diff) |
loplugin:unusedmethods
Change-Id: I2efb5c0e5735c179314c6c5de87821cee3b033e1
Reviewed-on: https://gerrit.libreoffice.org/45386
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/attrib.hxx | 37 | ||||
-rw-r--r-- | sc/inc/chartarr.hxx | 17 | ||||
-rw-r--r-- | sc/inc/document.hxx | 2 | ||||
-rw-r--r-- | sc/inc/olinetab.hxx | 1 |
4 files changed, 0 insertions, 57 deletions
diff --git a/sc/inc/attrib.hxx b/sc/inc/attrib.hxx index ea9ee09b2291..ccec669d1db2 100644 --- a/sc/inc/attrib.hxx +++ b/sc/inc/attrib.hxx @@ -153,43 +153,6 @@ public: } }; -// ScRangeItem: manages an area of a table -class ScRangeItem : public SfxPoolItem -{ -public: - inline ScRangeItem( const sal_uInt16 nWhich ); - inline ScRangeItem( const ScRangeItem& rCpy ); - - inline ScRangeItem& operator=( const ScRangeItem &rCpy ); - - // "pure virtual methods" from SfxPoolItem - virtual bool operator==( const SfxPoolItem& ) const override; - virtual bool GetPresentation( SfxItemPresentation ePres, - MapUnit eCoreMetric, - MapUnit ePresMetric, - OUString &rText, - const IntlWrapper& rIntl ) const override; - virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; - -private: - ScRange aRange; -}; - -inline ScRangeItem::ScRangeItem( const sal_uInt16 nWhichP ) - : SfxPoolItem( nWhichP ) -{ -} - -inline ScRangeItem::ScRangeItem( const ScRangeItem& rCpy ) - : SfxPoolItem( rCpy.Which() ), aRange( rCpy.aRange ) -{} - -inline ScRangeItem& ScRangeItem::operator=( const ScRangeItem &rCpy ) -{ - aRange = rCpy.aRange; - return *this; -} - // page format item: contents of header and footer #define SC_HF_LEFTAREA 1 diff --git a/sc/inc/chartarr.hxx b/sc/inc/chartarr.hxx index 87b67d5f465b..3580b31f008b 100644 --- a/sc/inc/chartarr.hxx +++ b/sc/inc/chartarr.hxx @@ -77,27 +77,10 @@ public: void SetHeaders(bool bCol, bool bRow) { aPositioner.SetHeaders(bCol, bRow); } bool HasColHeaders() const { return aPositioner.HasColHeaders(); } bool HasRowHeaders() const { return aPositioner.HasRowHeaders(); } - const OUString& GetName() const { return aName; } ScMemChart* CreateMemChart(); }; -class ScChartCollection -{ - typedef ::std::vector<std::unique_ptr<ScChartArray>> DataType; - DataType m_Data; - -public: - ScChartCollection(); - ScChartCollection(const ScChartCollection& rColl); - - void clear(); - size_t size() const; - bool empty() const; - ScChartArray* operator[](size_t nIndex); - const ScChartArray* operator[](size_t nIndex) const; -}; - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 321f4ebbc8e3..3096dc7aa5df 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -125,7 +125,6 @@ struct ScAttrEntry; class ScAutoFormatData; class ScBroadcastAreaSlotMachine; class ScChangeViewSettings; -class ScChartCollection; class ScChartListenerCollection; class ScClipOptions; class ScConditionalFormat; @@ -364,7 +363,6 @@ private: mutable ScRangeName* pRangeName; ScDBCollection* pDBCollection; ScDPCollection* pDPCollection; - ScChartCollection* pChartCollection; std::unique_ptr< ScTemporaryChartLock > apTemporaryChartLock; ScPatternAttr* pSelectionAttr; // Attributes of a block ScFormulaCell* pFormulaTree; // formula tree (start) diff --git a/sc/inc/olinetab.hxx b/sc/inc/olinetab.hxx index 7fc76e99838f..a25064d86c4e 100644 --- a/sc/inc/olinetab.hxx +++ b/sc/inc/olinetab.hxx @@ -98,7 +98,6 @@ private: SCCOLROW nSearchPos, size_t& rFindLevel, size_t& rFindIndex, size_t nMaxLevel = SC_OL_MAXDEPTH); - void RemoveSub(SCCOLROW nStartPos, SCCOLROW nEndPos, size_t nLevel); void PromoteSub(SCCOLROW nStartPos, SCCOLROW nEndPos, size_t nStartLevel); public: |