summaryrefslogtreecommitdiff
path: root/vcl/source/helper
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-04-23 13:57:27 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-04-23 13:57:27 +0100
commit2e8eee25cfbcfb2a46494d9b2ef81e65831201ed (patch)
tree8e05c5ebded6edf7ba9fbdbe86c3e2848069c0cc /vcl/source/helper
parentbd4388e4f92d77d34e63858f1d818379e9b077de (diff)
Kill unused LazyDeletor<Menu>.
Change-Id: Ibd1d27767b5679a3375d43851363de8c207a43ff
Diffstat (limited to 'vcl/source/helper')
-rw-r--r--vcl/source/helper/lazydelete.cxx13
1 files changed, 1 insertions, 12 deletions
diff --git a/vcl/source/helper/lazydelete.cxx b/vcl/source/helper/lazydelete.cxx
index 45ea7e091820..2594ad47c22a 100644
--- a/vcl/source/helper/lazydelete.cxx
+++ b/vcl/source/helper/lazydelete.cxx
@@ -32,9 +32,8 @@ LazyDeletorBase::~LazyDeletorBase()
{
}
-// instantiate instance pointers for LazyDeletor<Window,Menu>
+// instantiate instance pointer for LazyDeletor<Window>
template<> LazyDeletor<vcl::Window>* LazyDeletor<vcl::Window>::s_pOneInstance = NULL;
-template<> LazyDeletor<Menu>* LazyDeletor<Menu>::s_pOneInstance = NULL;
// a list for all LazyeDeletor<T> singletons
static std::vector< LazyDeletorBase* > lcl_aDeletors;
@@ -60,16 +59,6 @@ template<> bool LazyDeletor<vcl::Window>::is_less( vcl::Window* left, vcl::Windo
return left != right && right->IsChild( left, true );
}
-#ifndef LINUX
-// specialized is_less function for Menu
-template<> bool LazyDeletor<Menu>::is_less( Menu* left, Menu* right )
-{
- while( left && left != right )
- left = left->ImplGetStartedFrom();
- return left != NULL;
-}
-#endif
-
DeleteOnDeinitBase::~DeleteOnDeinitBase()
{
ImplSVData* pSVData = ImplGetSVData();