summaryrefslogtreecommitdiff
path: root/svx
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
parent26bd18dfc2516aab507dfb478cfc31e4bf57442f (diff)
Remove unused code in SvxSearchDialog
Diffstat (limited to 'svx')
-rw-r--r--svx/inc/svx/srchdlg.hxx4
-rw-r--r--svx/source/dialog/srchdlg.cxx42
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
{