diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-25 09:44:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-25 11:46:44 +0100 |
commit | 3525b4e098290af9953e4be571e242598fcc0a49 (patch) | |
tree | 7e5fd269be6226f9c743392b1127fa9a13347d22 /svx/source | |
parent | 843ec02fcbc6e1dbc0fbac7e0ee90fd6177711e7 (diff) |
loplugin:unusedmethods
Change-Id: I085394e0f4b780dc5b376d5ac0e9d761434e3ead
Reviewed-on: https://gerrit.libreoffice.org/68301
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/dialog/langbox.cxx | 9 | ||||
-rw-r--r-- | svx/source/dialog/txencbox.cxx | 10 | ||||
-rw-r--r-- | svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx | 2 |
3 files changed, 0 insertions, 21 deletions
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<sal_Int32>( 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(); } |