summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-05-09 13:00:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-05-09 14:31:12 +0200
commit7f6d5dfb2244468e2faa7be05d4258692c6e84dc (patch)
tree8c03b0980c003a66f2a2683920c1557a3ada6e8e /formula
parentb4009daccd11e416865efd5fd3c205c46691bb12 (diff)
loplugin:unusedmethods
Change-Id: I7b4d2e5e611935284e2902b0089950768dfb7717 Reviewed-on: https://gerrit.libreoffice.org/72036 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'formula')
-rw-r--r--formula/source/ui/dlg/funcpage.hxx2
-rw-r--r--formula/source/ui/dlg/funcutl.cxx20
-rw-r--r--formula/source/ui/dlg/structpg.cxx19
-rw-r--r--formula/source/ui/dlg/structpg.hxx16
4 files changed, 0 insertions, 57 deletions
diff --git a/formula/source/ui/dlg/funcpage.hxx b/formula/source/ui/dlg/funcpage.hxx
index 1b5b92b6b2fb..661312267147 100644
--- a/formula/source/ui/dlg/funcpage.hxx
+++ b/formula/source/ui/dlg/funcpage.hxx
@@ -86,9 +86,7 @@ public:
void SetSelectHdl( const Link<FuncPage&,void>& rLink ) { aSelectionLink = rLink; }
- void Show() { m_xContainer->show(); }
bool IsVisible() { return m_xContainer->get_visible(); }
- void Hide() { m_xContainer->hide(); }
};
} // formula
diff --git a/formula/source/ui/dlg/funcutl.cxx b/formula/source/ui/dlg/funcutl.cxx
index 2aeb01ab0ae4..8cf4b2155d3d 100644
--- a/formula/source/ui/dlg/funcutl.cxx
+++ b/formula/source/ui/dlg/funcutl.cxx
@@ -308,26 +308,6 @@ void RefEdit::SetRefString( const OUString& rStr )
Edit::SetText( rStr );
}
-void RefEdit::SetRefValid(bool bValid)
-{
- if (bValid)
- {
- SetControlForeground();
- SetControlBackground();
- }
- else
- {
-#if 0
- // Setting background color has no effect here so we'd end up with
- // white on white!
- SetControlForeground(COL_WHITE);
- SetControlBackground(0xff6563);
-#else
- SetControlForeground( ::Color( 0xf0, 0, 0 ) );
-#endif
- }
-}
-
void RefEdit::SetText(const OUString& rStr)
{
Edit::SetText( rStr );
diff --git a/formula/source/ui/dlg/structpg.cxx b/formula/source/ui/dlg/structpg.cxx
index d83712f46576..fcb536449b21 100644
--- a/formula/source/ui/dlg/structpg.cxx
+++ b/formula/source/ui/dlg/structpg.cxx
@@ -32,25 +32,6 @@
namespace formula
{
-StructListBox::StructListBox(vcl::Window* pParent, WinBits nBits ):
- SvTreeListBox(pParent, nBits)
-{
- vcl::Font aFont( GetFont() );
- Size aSize = aFont.GetFontSize();
- aSize.AdjustHeight(-2);
- aFont.SetFontSize( aSize );
- SetFont( aFont );
-}
-
-SvTreeListEntry* StructListBox::InsertStaticEntry(
- const OUString& rText,
- const Image& rEntryImg,
- SvTreeListEntry* pParent, sal_uLong nPos, const FormulaToken* pToken )
-{
- SvTreeListEntry* pEntry = InsertEntry( rText, rEntryImg, rEntryImg, pParent, false, nPos,
- const_cast<FormulaToken*>(pToken) );
- return pEntry;
-}
void StructPage::SetActiveFlag(bool bFlag)
{
diff --git a/formula/source/ui/dlg/structpg.hxx b/formula/source/ui/dlg/structpg.hxx
index 389c907b7800..531fb366c4d8 100644
--- a/formula/source/ui/dlg/structpg.hxx
+++ b/formula/source/ui/dlg/structpg.hxx
@@ -30,20 +30,6 @@ namespace formula
{
class FormulaToken;
-class StructListBox : public SvTreeListBox
-{
-public:
-
- StructListBox(vcl::Window* pParent, WinBits nBits );
-
- /** Inserts an entry with static image (no difference between collapsed/expanded). */
- SvTreeListEntry* InsertStaticEntry(
- const OUString& rText,
- const Image& rEntryImg,
- SvTreeListEntry* pParent,
- sal_uLong nPos,
- const FormulaToken* pToken );
-};
class StructPage final
@@ -85,9 +71,7 @@ public:
weld::TreeView& GetTlbStruct() const { return *m_xTlbStruct; }
- void Show() { m_xContainer->show(); }
bool IsVisible() { return m_xContainer->get_visible(); }
- void Hide() { m_xContainer->hide(); }
};
} // formula