summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svx/source/dialog/srchdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx
index f614a8a9aeb7..78704d415d6c 100644
--- a/svx/source/dialog/srchdlg.cxx
+++ b/svx/source/dialog/srchdlg.cxx
@@ -1532,7 +1532,7 @@ IMPL_LINK_NOARG(SvxSearchDialog, TemplateHdl_Impl, weld::Toggleable&, void)
if(!sDesc.isEmpty())
{
- if (!m_xReplaceAttrText->get_visible() || !m_xReplaceAttrText->get_visible())
+ if (!m_xSearchAttrText->get_visible() || !m_xReplaceAttrText->get_visible())
{
m_xSearchAttrText->show();
m_xReplaceAttrText->show();
@@ -1563,7 +1563,7 @@ IMPL_LINK_NOARG(SvxSearchDialog, TemplateHdl_Impl, weld::Toggleable&, void)
if(!sDesc.isEmpty())
{
- if (!m_xReplaceAttrText->get_visible() || !m_xReplaceAttrText->get_visible())
+ if (!m_xSearchAttrText->get_visible() || !m_xReplaceAttrText->get_visible())
{
m_xSearchAttrText->show();
m_xReplaceAttrText->show();