Kaydet (Commit) 967c694c authored tarafından Noel Grandin's avatar Noel Grandin

remove unused code TemplateLocalView::HasUnfilteredItems(FILTER_APPLICATION)

Change-Id: Ia4e8c6139b20f2370219d9e7b72e6b3083301ba0
üst 6b27104a
......@@ -36,8 +36,6 @@ public:
// Fill view with template folders thumbnails
virtual void Populate ();
bool HasUnfilteredItems(FILTER_APPLICATION App);
virtual void reload ();
virtual void showRootRegion ();
......
......@@ -53,22 +53,6 @@ TemplateLocalView::~TemplateLocalView()
delete mpDocTemplates;
}
bool TemplateLocalView::HasUnfilteredItems(FILTER_APPLICATION App)
{
ViewFilter_Application aFilter(App);
bool bFound = false;
for (size_t i = 0; !bFound && i < maRegions.size(); ++i)
{
TemplateContainerItem *pFolderItem = maRegions[i];
for (size_t j = 0; !bFound && j < pFolderItem->maTemplates.size(); ++j)
{
bFound = aFilter.isValid(pFolderItem->maTemplates[j].aPath);
}
}
return bFound;
}
void TemplateLocalView::Populate ()
{
for (size_t i = 0; i < maRegions.size(); ++i)
......
......@@ -86,7 +86,6 @@ SwPostItField::GetByName(SwDoc*, rtl::OUString const&)
SwViewImp::FireColumnChangeEvent(unsigned short, unsigned short)
SwViewImp::FirePageChangeEvent(unsigned short, unsigned short)
SwViewImp::FireSectionChangeEvent(unsigned short, unsigned short)
TemplateLocalView::HasUnfilteredItems(FILTER_APPLICATION)
TextDoc::IsValidPaM(TextPaM const&)
UnoApiTest::closeDocument(com::sun::star::uno::Reference<com::sun::star::lang::XComponent>)
apitest::CellProperties::testRotateReference()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment