summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-17 09:55:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-17 20:42:31 +0200
commit7990680e92e4fba376ef4f9346d1bc53661bde30 (patch)
treefa9e798d4769cde3e7203f8837603fa8e7736fe6 /include
parent7d3041beb90de4f3495addf139463860049740fb (diff)
loplugin:unusedmethods
Change-Id: I781a514787c83063dadd549ee043bbb264eee060 Reviewed-on: https://gerrit.libreoffice.org/77619 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/oox/ole/axcontrol.hxx2
-rw-r--r--include/sfx2/sidebar/Deck.hxx1
-rw-r--r--include/svtools/simptabl.hxx4
-rw-r--r--include/svx/colorbox.hxx4
-rw-r--r--include/svx/fntctrl.hxx8
-rw-r--r--include/svx/txencbox.hxx5
-rw-r--r--include/vcl/button.hxx4
-rw-r--r--include/vcl/svtabbx.hxx2
8 files changed, 0 insertions, 30 deletions
diff --git a/include/oox/ole/axcontrol.hxx b/include/oox/ole/axcontrol.hxx
index 968360a5b39b..b53988e2f908 100644
--- a/include/oox/ole/axcontrol.hxx
+++ b/include/oox/ole/axcontrol.hxx
@@ -334,8 +334,6 @@ public:
PropertySet const & rPropSet,
sal_Int32& nOrientation );
- const css::uno::Reference<css::frame::XModel> GetDocModel() const { return mxDocModel; }
-
private:
css::uno::Reference< css::frame::XModel > mxDocModel;
const GraphicHelper& mrGraphicHelper;
diff --git a/include/sfx2/sidebar/Deck.hxx b/include/sfx2/sidebar/Deck.hxx
index 5a3dabe7804a..899ff838c74d 100644
--- a/include/sfx2/sidebar/Deck.hxx
+++ b/include/sfx2/sidebar/Deck.hxx
@@ -69,7 +69,6 @@ public:
static void PrintWindowSubTree (vcl::Window* pRoot, int nIndentation);
sal_Int32 GetMinimalWidth() const { return mnMinimalWidth; }
- sal_Int32 GetMinimalHeight() const { return mnMinimalHeight; }
class ScrollContainerWindow : public vcl::Window
{
diff --git a/include/svtools/simptabl.hxx b/include/svtools/simptabl.hxx
index 476e77c6764b..f7c2fb9d7fe2 100644
--- a/include/svtools/simptabl.hxx
+++ b/include/svtools/simptabl.hxx
@@ -95,10 +95,6 @@ public:
using SvHeaderTabListBox::SetTabs;
- void EnableTable();
- void DisableTable();
- bool IsEnabled() const;
-
void SortByCol(sal_uInt16, bool bDir=true);
sal_uInt16 GetSortedCol(){ return nSortCol;}
SvLBoxItem* GetEntryAtPos( SvTreeListEntry* pEntry, sal_uInt16 nPos ) const;
diff --git a/include/svx/colorbox.hxx b/include/svx/colorbox.hxx
index d9ac2b48fd6e..7898e4df897b 100644
--- a/include/svx/colorbox.hxx
+++ b/include/svx/colorbox.hxx
@@ -61,7 +61,6 @@ public:
void SetSlotId(sal_uInt16 nSlotId, bool bShowNoneButton = false);
Color const & GetSelectEntryColor() const { return m_aSelectedColor.first; }
- NamedColor const & GetSelectedEntry() const { return m_aSelectedColor; }
void SelectEntry(const NamedColor& rColor);
void SelectEntry(const Color& rColor);
@@ -73,9 +72,6 @@ public:
void ShowPreview(const NamedColor &rColor);
void EnsurePaletteManager();
- void SaveValue() { m_aSaveColor = GetSelectEntryColor(); }
- bool IsValueChangedFromSaved() const { return m_aSaveColor != GetSelectEntryColor(); }
-
DECL_LINK(WindowEventListener, VclWindowEvent&, void);
};
diff --git a/include/svx/fntctrl.hxx b/include/svx/fntctrl.hxx
index 89655ac22559..d07d60edb62f 100644
--- a/include/svx/fntctrl.hxx
+++ b/include/svx/fntctrl.hxx
@@ -50,16 +50,8 @@ public:
virtual void StateChanged( StateChangedType nStateChange ) override;
virtual void DataChanged( const DataChangedEvent& rDCEvt ) override;
- // for reasons of efficiency not const
- SvxFont& GetFont();
- const SvxFont& GetFont() const;
void SetFont( const SvxFont& rNormalFont, const SvxFont& rCJKFont, const SvxFont& rCTLFont );
- SvxFont& GetCJKFont();
- SvxFont& GetCTLFont();
- void SetColor( const Color& rColor );
- void ResetColor();
void SetBackColor( const Color& rColor );
- void UseResourceText();
void Paint( vcl::RenderContext& rRenderContext, const tools::Rectangle& ) override;
bool IsTwoLines() const;
diff --git a/include/svx/txencbox.hxx b/include/svx/txencbox.hxx
index b341994dc997..42a9f971fc70 100644
--- a/include/svx/txencbox.hxx
+++ b/include/svx/txencbox.hxx
@@ -54,11 +54,6 @@ public:
sal_uInt32 nButIncludeInfoFlags = 0
);
- /** Fill with all known MIME encodings and select the best according to
- <method>GetBestMimeEncoding</method>
- */
- void FillWithMimeAndSelectBest();
-
void InsertTextEncoding( const rtl_TextEncoding nEnc,
const OUString& rEntry );
diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx
index d6f39bb6f8f2..0c95e4abc4ea 100644
--- a/include/vcl/button.hxx
+++ b/include/vcl/button.hxx
@@ -348,10 +348,6 @@ public:
void Check( bool bCheck = true );
bool IsChecked() const { return mbChecked; }
- void SaveValue() { mbSaveValue = IsChecked(); }
- bool GetSavedValue() const { return mbSaveValue; }
- bool IsValueChangedFromSaved() const { return mbSaveValue != IsChecked(); }
-
static Image GetRadioImage( const AllSettings& rSettings, DrawButtonFlags nFlags );
Size CalcMinimumSize() const;
diff --git a/include/vcl/svtabbx.hxx b/include/vcl/svtabbx.hxx
index 3e5f68bf146c..f98e05e83b1f 100644
--- a/include/vcl/svtabbx.hxx
+++ b/include/vcl/svtabbx.hxx
@@ -97,10 +97,8 @@ public:
static OUString GetEntryText( SvTreeListEntry*, sal_uInt16 nCol );
OUString GetEntryText( sal_uLong nPos, sal_uInt16 nCol = 0xffff ) const;
using SvTreeListBox::SetEntryText;
- void SetEntryText(const OUString&, sal_uLong, sal_uInt16 nCol);
void SetEntryText(const OUString&, SvTreeListEntry*, sal_uInt16 nCol=0xffff);
OUString GetCellText( sal_uLong nPos, sal_uInt16 nCol ) const;
- sal_uLong GetEntryPos( const OUString&, sal_uInt16 nCol = 0xffff );
sal_uLong GetEntryPos( const SvTreeListEntry* pEntry ) const;
void SetTabJustify( sal_uInt16 nTab, SvTabJustify );