diff options
-rw-r--r-- | include/sfx2/templatelocalview.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/control/templatelocalview.cxx | 16 | ||||
-rw-r--r-- | unusedcode.easy | 1 |
3 files changed, 0 insertions, 19 deletions
diff --git a/include/sfx2/templatelocalview.hxx b/include/sfx2/templatelocalview.hxx index 6234c2908ad2..b78604de3b0d 100644 --- a/include/sfx2/templatelocalview.hxx +++ b/include/sfx2/templatelocalview.hxx @@ -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 (); diff --git a/sfx2/source/control/templatelocalview.cxx b/sfx2/source/control/templatelocalview.cxx index 9a916e96b893..a0d5189d8f16 100644 --- a/sfx2/source/control/templatelocalview.cxx +++ b/sfx2/source/control/templatelocalview.cxx @@ -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) diff --git a/unusedcode.easy b/unusedcode.easy index d48f7f137b4e..e75d0aeba399 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -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() |