summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-03-22 21:51:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-03-23 11:03:52 +0100
commit7619bd3a386dfed2e03e257f42a543e1e7be76ef (patch)
treee356d820fc49ebe86f9d8ca0fb4de58b7f2b0e0e
parentloplugin:unusedfields (diff)
downloadcore-7619bd3a386dfed2e03e257f42a543e1e7be76ef.tar.gz
core-7619bd3a386dfed2e03e257f42a543e1e7be76ef.zip
loplugin:unusedmethods
Change-Id: I59c9e52997e80174a3aa7f81bacdfb29e47be0a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131952 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--chart2/source/inc/WeakListenerAdapter.hxx3
-rw-r--r--include/sfx2/thumbnailview.hxx2
-rw-r--r--include/svx/ctredlin.hxx2
-rw-r--r--sc/inc/document.hxx4
-rw-r--r--sc/inc/table.hxx2
-rw-r--r--sc/source/core/inc/bcaslot.hxx7
-rw-r--r--svx/source/dialog/ctredlin.cxx8
7 files changed, 0 insertions, 28 deletions
diff --git a/chart2/source/inc/WeakListenerAdapter.hxx b/chart2/source/inc/WeakListenerAdapter.hxx
index 9df1e146125d..fe693668a3e8 100644
--- a/chart2/source/inc/WeakListenerAdapter.hxx
+++ b/chart2/source/inc/WeakListenerAdapter.hxx
@@ -47,9 +47,6 @@ public:
explicit WeakListenerAdapter( const css::uno::Reference< Listener > & xListener ) :
m_xListener( xListener )
{}
- explicit WeakListenerAdapter( const css::uno::WeakReference< Listener > & xListener ) :
- m_xListener( xListener )
- {}
protected:
// ____ XEventListener (base of all listeners) ____
diff --git a/include/sfx2/thumbnailview.hxx b/include/sfx2/thumbnailview.hxx
index 1922270f413f..bbdee870ac52 100644
--- a/include/sfx2/thumbnailview.hxx
+++ b/include/sfx2/thumbnailview.hxx
@@ -238,8 +238,6 @@ public:
static BitmapEx readThumbnail(const OUString &msURL);
- tools::Long ItemHeight() const { return mnItemHeight; };
-
protected:
virtual bool KeyInput( const KeyEvent& rKEvt ) override;
diff --git a/include/svx/ctredlin.hxx b/include/svx/ctredlin.hxx
index 1a95c88320dc..84cf456cb58a 100644
--- a/include/svx/ctredlin.hxx
+++ b/include/svx/ctredlin.hxx
@@ -102,8 +102,6 @@ public:
SvxRedlinTable(std::unique_ptr<weld::TreeView> xWriterControl,
std::unique_ptr<weld::TreeView> xCalcControl);
- void set_size_request(int nWidth, int nHeight);
-
weld::TreeView& GetWidget() { return *pTreeView; }
bool IsSorted() const { return bSorted; }
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 226583afe567..d5df933e1cfc 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -825,11 +825,7 @@ public:
// is to avoid checking unallocated columns if they don't have attributes set, so this is
// never less than ClampToAllocatedColumns().
SCCOL ClampToMaxNonDefPatternColumn(SCTAB nTab, SCCOL nCol, SCROW nRow1, SCROW nRow2) const;
- SCCOL ClampToMaxNonDefPatternColumn(SCTAB nTab, SCCOL nCol) const
- { return ClampToMaxNonDefPatternColumn(nTab, nCol, 0, MaxRow()); }
SCCOL GetMaxNonDefPatternColumnsCount(SCTAB nTab, SCROW nRow1, SCROW nRow2) const;
- SCCOL GetMaxNonDefPatternColumnsCount(SCTAB nTab) const
- { return GetMaxNonDefPatternColumnsCount(nTab, 0, MaxRow()); }
SC_DLLPUBLIC ScDBCollection* GetDBCollection() const { return pDBCollection.get();}
void SetDBCollection( std::unique_ptr<ScDBCollection> pNewDBCollection,
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 623c9fe32a70..58fb6c4a45ad 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -1108,8 +1108,6 @@ public:
SCCOL ClampToMaxNonDefPatternColumn(SCCOL nCol) const
{ return ClampToMaxNonDefPatternColumn(nCol, 0, rDocument.MaxRow()); }
SCCOL GetMaxNonDefPatternColumnsCount(SCROW nRow1, SCROW nRow2) const;
- SCCOL GetMaxNonDefPatternColumnsCount() const
- { return GetMaxNonDefPatternColumnsCount(0, rDocument.MaxRow()); }
/**
* Serializes the sheet's geometry data.
diff --git a/sc/source/core/inc/bcaslot.hxx b/sc/source/core/inc/bcaslot.hxx
index b3b5155cae4a..c77a1173c7e3 100644
--- a/sc/source/core/inc/bcaslot.hxx
+++ b/sc/source/core/inc/bcaslot.hxx
@@ -266,13 +266,6 @@ private:
~TableSlots();
ScBroadcastAreaSlot** getSlots() { return ppSlots.get(); }
- /**
- Obtain slot pointer, no check on validity! It is assumed that
- all calls are made with the results of ComputeSlotOffset(),
- ComputeAreaPoints() and ComputeNextSlot()
- */
- ScBroadcastAreaSlot* getAreaSlot( SCSIZE nOff ) { return ppSlots[nOff]; }
-
private:
SCSIZE mnBcaSlots;
std::unique_ptr<ScBroadcastAreaSlot*[]> ppSlots;
diff --git a/svx/source/dialog/ctredlin.cxx b/svx/source/dialog/ctredlin.cxx
index 7e080fa4a054..3a0f1e32e0a3 100644
--- a/svx/source/dialog/ctredlin.cxx
+++ b/svx/source/dialog/ctredlin.cxx
@@ -82,14 +82,6 @@ SvxRedlinTable::SvxRedlinTable(std::unique_ptr<weld::TreeView> xWriterControl,
}
}
-void SvxRedlinTable::set_size_request(int nWidth, int nHeight)
-{
- if (xWriterTreeView)
- xWriterTreeView->set_size_request(nWidth, nHeight);
- if (xCalcTreeView)
- xCalcTreeView->set_size_request(nWidth, nHeight);
-}
-
SvxRedlinTable::~SvxRedlinTable()
{
}