summaryrefslogtreecommitdiff
path: root/svx/source/dialog/srchdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/dialog/srchdlg.cxx')
-rw-r--r--svx/source/dialog/srchdlg.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx
index 06836388a33c..2045730344d4 100644
--- a/svx/source/dialog/srchdlg.cxx
+++ b/svx/source/dialog/srchdlg.cxx
@@ -373,6 +373,8 @@ void SvxSearchDialog::ChildWinDispose()
SvxSearchDialog::~SvxSearchDialog()
{
m_aPresentIdle.Stop();
+ pSearchItem.reset();
+ pImpl.reset();
}
void SvxSearchDialog::Construct_Impl()
@@ -598,7 +600,6 @@ bool SvxSearchDialog::IsOtherOptionsExpanded() const
void SvxSearchDialog::Activate()
{
// apply possible transliteration changes of the SvxSearchItem member
- DBG_ASSERT( pSearchItem, "SearchItem missing" );
if (pSearchItem)
{
m_xMatchCaseCB->set_active( pSearchItem->GetExact() );