summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorSantiago Martinez <smvarela@gmail.com>2012-02-16 21:34:44 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-02-17 21:40:00 +0000
commit57c8929c6bf037a767e7016d28b7656cd8fddfb7 (patch)
treedb44c1fa09cc69c430513589e9ae69b8fc4a4d50 /svx/source
parent26bd18dfc2516aab507dfb478cfc31e4bf57442f (diff)
Remove unused code in SvxSearchDialog
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/dialog/srchdlg.cxx42
1 files changed, 0 insertions, 42 deletions
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
{