summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorRafael Dominguez <venccsralph@gmail.com>2013-03-27 13:18:42 -0430
committerRafael Dominguez <venccsralph@gmail.com>2013-03-28 00:21:13 -0430
commitc2f47cf1576ddcf5d7bd63e252b8bc0f61f5f10b (patch)
tree393759543da5dcb8ed11207d6f4c2c648b6aa168 /sfx2
parent49ff1db2951eaf88b711e8a546a194d51323a996 (diff)
Dont display all templates types after closing the search bar.
Change-Id: I9157cc5fc0a0d673869d877b478feacbeaa43a33
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/templatedlg.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index 6cb44729882a..c0beedf88762 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -988,10 +988,6 @@ void SfxTemplateManagerDlg::OnTemplateSearch ()
mpSearchEdit->SetText(OUString());
if (!bVisible)
mpSearchEdit->GrabFocus();
-
- // display all templates if we hide the search bar
- if (bVisible && mpCurView->isNonRootRegionVisible())
- mpCurView->filterItems(ViewFilter_Application(FILTER_APP_NONE));
}
void SfxTemplateManagerDlg::OnTemplateEdit ()