diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-12-13 09:16:54 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-12-13 10:11:45 +0000 |
commit | 220b97fd143da72a8c9f56cdee30bb31e7180a07 (patch) | |
tree | 8b04419ac6976e9652fcbab74bd63a5a4f9155fa /svtools | |
parent | _BASIC_TEXTPORTIONS always defined (diff) | |
download | core-220b97fd143da72a8c9f56cdee30bb31e7180a07.tar.gz core-220b97fd143da72a8c9f56cdee30bb31e7180a07.zip |
SbTextPortions, etc can completely go
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/dialogs/filedlg2.cxx | 23 | ||||
-rw-r--r-- | svtools/source/dialogs/filedlg2.hxx | 3 |
2 files changed, 0 insertions, 26 deletions
diff --git a/svtools/source/dialogs/filedlg2.cxx b/svtools/source/dialogs/filedlg2.cxx index 4bad2d51b65a..319848ff5de1 100644 --- a/svtools/source/dialogs/filedlg2.cxx +++ b/svtools/source/dialogs/filedlg2.cxx @@ -1168,29 +1168,6 @@ void ImpFileDialog::SetPath( Edit const& rEdit ) SetPath( aPresetText ); } -void ImpFileDialog::SetCurFilter( const UniString& rFilter ) -{ - if( !pTypeList ) - return; - - for ( size_t i = 0, n = aFilterList.size(); i < n; ++i ) { - if ( aFilterList[ i ]->aName == rFilter ) { - pTypeList->SelectEntryPos( sal_uInt16( i ) ); - return; - } - } - - pTypeList->SetNoSelection(); -} - -UniString ImpFileDialog::GetCurFilter() const -{ - UniString aFilter; - if ( pTypeList ) - aFilter = pTypeList->GetSelectEntry(); - return aFilter; -} - void ImpFileDialog::PreExecute() { // ListBoxen erst unmittelbar vor Execute fuellen diff --git a/svtools/source/dialogs/filedlg2.hxx b/svtools/source/dialogs/filedlg2.hxx index 694fa012c006..39edd059ec84 100644 --- a/svtools/source/dialogs/filedlg2.hxx +++ b/svtools/source/dialogs/filedlg2.hxx @@ -158,9 +158,6 @@ public: ImpFileDialog( PathDialog* pDlg, WinBits nStyle, RESOURCE_TYPE nType ); virtual ~ImpFileDialog(); - void SetCurFilter( const String& rFilter ); - String GetCurFilter() const; - size_t GetFilterCount() const { return aFilterList.size(); } inline String GetFilterName( size_t nPos ) const; inline String GetFilterType( size_t nPos ) const; |