From 3525b4e098290af9953e4be571e242598fcc0a49 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 25 Feb 2019 09:44:18 +0200 Subject: loplugin:unusedmethods Change-Id: I085394e0f4b780dc5b376d5ac0e9d761434e3ead Reviewed-on: https://gerrit.libreoffice.org/68301 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svx/source/dialog/langbox.cxx | 9 --------- svx/source/dialog/txencbox.cxx | 10 ---------- .../unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx | 2 -- 3 files changed, 21 deletions(-) (limited to 'svx/source') diff --git a/svx/source/dialog/langbox.cxx b/svx/source/dialog/langbox.cxx index 8ca6689381b7..cd2962ee1ef1 100644 --- a/svx/source/dialog/langbox.cxx +++ b/svx/source/dialog/langbox.cxx @@ -402,15 +402,6 @@ void SvxLanguageBoxBase::InsertLanguage( const LanguageType nLangType, } -void SvxLanguageBoxBase::RemoveLanguage( const LanguageType eLangType ) -{ - sal_Int32 nAt = ImplTypeToPos( eLangType ); - - if ( nAt != LISTBOX_ENTRY_NOTFOUND ) - ImplRemoveEntryAt( nAt ); -} - - LanguageType SvxLanguageBoxBase::GetSelectedLanguage() const { sal_Int32 nPos = ImplGetSelectedEntryPos(); diff --git a/svx/source/dialog/txencbox.cxx b/svx/source/dialog/txencbox.cxx index 44899b9011b1..1273d6e8f6f9 100644 --- a/svx/source/dialog/txencbox.cxx +++ b/svx/source/dialog/txencbox.cxx @@ -217,16 +217,6 @@ void SvxTextEncodingBox::InsertTextEncoding( const rtl_TextEncoding nEnc, } -void SvxTextEncodingBox::InsertTextEncoding( const rtl_TextEncoding nEnc ) -{ - const OUString& rEntry = SvxTextEncodingTable::GetTextString(nEnc); - if ( !rEntry.isEmpty() ) - InsertTextEncoding( nEnc, rEntry ); - else - SAL_WARN( "svx.dialog", "SvxTextEncodingBox::InsertTextEncoding: no resource string for text encoding: " << static_cast( nEnc ) ); -} - - rtl_TextEncoding SvxTextEncodingBox::GetSelectTextEncoding() const { sal_Int32 nPos = GetSelectedEntryPos(); diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx index 04925a5022af..43763ea25498 100644 --- a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx +++ b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx @@ -66,8 +66,6 @@ public: DictionaryEntry* getEntryOnPos( sal_Int32 nPos ) const; DictionaryEntry* getFirstSelectedEntry() const; - void sortByColumn( sal_uInt16 nSortColumnIndex, bool bSortAtoZ ); - void set_size_request(int nWidth, int nHeight) { m_xControl->set_size_request(nWidth, nHeight); } void hide() { m_xControl->hide(); } void show() { m_xControl->show(); } -- cgit