diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-04 08:31:17 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-05 09:17:46 +0200 |
commit | 967c694cfe2d9bf0a362f954858fc96691e23903 (patch) | |
tree | 65d5859106431da644b16c4ffdc28aac5824a036 | |
parent | 6b27104ac5d8473d2a453bcd64c25e590aaec7e4 (diff) |
remove unused code TemplateLocalView::HasUnfilteredItems(FILTER_APPLICATION)
Change-Id: Ia4e8c6139b20f2370219d9e7b72e6b3083301ba0
-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() |