summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-08 14:41:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-09 07:28:25 +0100
commit313744d4f23f242f5ee979d229fe394211ff7ffd (patch)
tree7c2e83e0eb5eb2b133c0eaa1a61bb179b554f14d /cui
parentccb6b8967ce3d84bb141379e51a339544f753446 (diff)
loplugin:unusedmethods
Change-Id: I242f56f2bc5dc8fce6db1ba8f1f8269da4fec0fa Reviewed-on: https://gerrit.libreoffice.org/68938 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/hangulhanjadlg.cxx13
-rw-r--r--cui/source/inc/cfgutil.hxx2
-rw-r--r--cui/source/inc/hangulhanjadlg.hxx2
3 files changed, 0 insertions, 17 deletions
diff --git a/cui/source/dialogs/hangulhanjadlg.cxx b/cui/source/dialogs/hangulhanjadlg.cxx
index 703d52ddb026..501a14c032d7 100644
--- a/cui/source/dialogs/hangulhanjadlg.cxx
+++ b/cui/source/dialogs/hangulhanjadlg.cxx
@@ -301,14 +301,6 @@ namespace svx
pDev->DrawText( aRect, sText, DrawTextFlags::Center | DrawTextFlags::VCenter );
}
- void SuggestionSet::ClearSet()
- {
- sal_uInt16 i, nCount = GetItemCount();
- for ( i = 0; i < nCount; ++i )
- delete static_cast< OUString* >( GetItemData(i) );
- Clear();
- }
-
SuggestionDisplay::SuggestionDisplay(weld::Builder& rBuilder)
: m_bDisplayListBox( true )
, m_bInSelectionUpdate( false )
@@ -342,11 +334,6 @@ namespace svx
m_xValueSetWin->hide();
}
- bool SuggestionDisplay::hasCurrentControl()
- {
- return m_bDisplayListBox || m_xValueSet;
- }
-
weld::Widget& SuggestionDisplay::implGetCurrentControl()
{
if (m_bDisplayListBox)
diff --git a/cui/source/inc/cfgutil.hxx b/cui/source/inc/cfgutil.hxx
index 0d7944ffa9e8..2564933f326f 100644
--- a/cui/source/inc/cfgutil.hxx
+++ b/cui/source/inc/cfgutil.hxx
@@ -117,8 +117,6 @@ public:
void ClearAll();
using Window::GetHelpText;
- OUString GetCurCommand();
- OUString GetCurLabel();
OUString GetHelpText( bool bConsiderParent = true );
};
diff --git a/cui/source/inc/hangulhanjadlg.hxx b/cui/source/inc/hangulhanjadlg.hxx
index 53cf86124e5b..8d8258e0ef75 100644
--- a/cui/source/inc/hangulhanjadlg.hxx
+++ b/cui/source/inc/hangulhanjadlg.hxx
@@ -46,7 +46,6 @@ namespace svx
SuggestionSet(std::unique_ptr<weld::ScrolledWindow> xScrolledWindow);
virtual void UserDraw( const UserDrawEvent& rUDEvt ) override;
- void ClearSet();
};
class SuggestionDisplay
@@ -81,7 +80,6 @@ namespace svx
private:
void implUpdateDisplay();
- bool hasCurrentControl();
weld::Widget& implGetCurrentControl();
private: