diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svx/srchdlg.hxx | 4 | ||||
-rw-r--r-- | svx/source/dialog/srchdlg.cxx | 42 |
2 files changed, 0 insertions, 46 deletions
diff --git a/svx/inc/svx/srchdlg.hxx b/svx/inc/svx/srchdlg.hxx index e5d284405cc1..852c681fa27f 100644 --- a/svx/inc/svx/srchdlg.hxx +++ b/svx/inc/svx/srchdlg.hxx @@ -127,7 +127,6 @@ friend class SvxSearchDialogWrapper; friend class SvxJSearchOptionsDialog; public: - SvxSearchDialog( Window* pParent, SfxBindings& rBind ); SvxSearchDialog( Window* pParent, SfxChildWindow* pChildWin, SfxBindings& rBind ); ~SvxSearchDialog(); @@ -136,9 +135,6 @@ public: // Window virtual void Activate(); - void GetSearchItems( SfxItemSet& rSet ); - void GetReplaceItems( SfxItemSet& rSet ); - const SearchAttrItemList* GetSearchItemList() const { return pSearchList; } const SearchAttrItemList* GetReplaceItemList() const diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx index 305436b67f39..d090ff67f001 100644 --- a/svx/source/dialog/srchdlg.cxx +++ b/svx/source/dialog/srchdlg.cxx @@ -336,18 +336,6 @@ void SearchAttrItemList::Remove( sal_uInt16 nPos, sal_uInt16 nLen ) // class SvxSearchDialog ------------------------------------------------- -SvxSearchDialog::SvxSearchDialog( Window* pParent, SfxBindings& rBind ) : - - SfxModelessDialog( &rBind, NULL, pParent, SVX_RES( RID_SVXDLG_SEARCH ) ), - - INI_LIST() - -{ - Construct_Impl(); -} - -// ----------------------------------------------------------------------- - SvxSearchDialog::SvxSearchDialog( Window* pParent, SfxChildWindow* pChildWin, SfxBindings& rBind ) : SfxModelessDialog( &rBind, pChildWin, pParent, SVX_RES( RID_SVXDLG_SEARCH ) ), @@ -2241,36 +2229,6 @@ IMPL_LINK( SvxSearchDialog, TimeoutHdl_Impl, Timer *, pTimer ) // ----------------------------------------------------------------------- -void SvxSearchDialog::GetSearchItems( SfxItemSet& rSet ) -{ - xub_StrLen nLen; - - if ( !pImpl->bMultiLineEdit ) - nLen = aSearchAttrText.GetText().Len(); - else - nLen = pImpl->aSearchFormats.GetText().Len(); - - if ( nLen && pSearchList ) - pSearchList->Get( rSet ); -} - -// ----------------------------------------------------------------------- - -void SvxSearchDialog::GetReplaceItems( SfxItemSet& rSet ) -{ - xub_StrLen nLen; - - if ( !pImpl->bMultiLineEdit ) - nLen = aReplaceAttrText.GetText().Len(); - else - nLen = pImpl->aReplaceFormats.GetText().Len(); - - if ( nLen && pReplaceList ) - pReplaceList->Get( rSet ); -} - -// ----------------------------------------------------------------------- - String& SvxSearchDialog::BuildAttrText_Impl( String& rStr, sal_Bool bSrchFlag ) const { |