diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-24 22:31:19 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-25 09:42:06 +0100 |
commit | ac1530a37e4544378c22c9358e57ca8a596c1aa8 (patch) | |
tree | b9380514932038897631b6e9f7e509c4fc7f8129 /svx/source/dialog/txencbox.cxx | |
parent | 798496c5be43771ee478a0ee4288188b28583a8d (diff) |
callcatcher: yet more unused code
Diffstat (limited to 'svx/source/dialog/txencbox.cxx')
-rw-r--r-- | svx/source/dialog/txencbox.cxx | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/svx/source/dialog/txencbox.cxx b/svx/source/dialog/txencbox.cxx index 99e8fc8911dd..27f679658c5b 100644 --- a/svx/source/dialog/txencbox.cxx +++ b/svx/source/dialog/txencbox.cxx @@ -212,16 +212,6 @@ void SvxTextEncodingBox::InsertTextEncoding( const rtl_TextEncoding nEnc, sal_uI //------------------------------------------------------------------------ -void SvxTextEncodingBox::RemoveTextEncoding( const rtl_TextEncoding nEnc ) -{ - sal_uInt16 nAt = EncodingToPos_Impl( nEnc ); - - if ( nAt != LISTBOX_ENTRY_NOTFOUND ) - RemoveEntry( nAt ); -} - -//------------------------------------------------------------------------ - rtl_TextEncoding SvxTextEncodingBox::GetSelectTextEncoding() const { sal_uInt16 nPos = GetSelectEntryPos(); @@ -242,16 +232,4 @@ void SvxTextEncodingBox::SelectTextEncoding( const rtl_TextEncoding nEnc, sal_Bo SelectEntryPos( nAt, bSelect ); } -//------------------------------------------------------------------------ - -sal_Bool SvxTextEncodingBox::IsTextEncodingSelected( const rtl_TextEncoding nEnc ) const -{ - sal_uInt16 nAt = EncodingToPos_Impl( nEnc ); - - if ( nAt != LISTBOX_ENTRY_NOTFOUND ) - return IsEntryPosSelected( nAt ); - else - return sal_False; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |