summaryrefslogtreecommitdiff
path: root/idl/inc/basobj.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-09 09:08:35 +0200
committerNoel Grandin <noel@peralex.com>2016-02-09 09:43:53 +0200
commitcfa4ba4b2b7138f7b95fb725866ed37155ccceee (patch)
treea8796f81aa8d7eefeee59e63090f32fd2424d000 /idl/inc/basobj.hxx
parent8bbcbcec91f723a3839bd80aa1d28e0420dfd1e6 (diff)
simplify SvMetaObjectMemberStack
Change-Id: I7c1ba85fcb21925f5e912fa48207411e4fc1fbb4
Diffstat (limited to 'idl/inc/basobj.hxx')
-rw-r--r--idl/inc/basobj.hxx18
1 files changed, 0 insertions, 18 deletions
diff --git a/idl/inc/basobj.hxx b/idl/inc/basobj.hxx
index dbec6b476b78..af85f472c7d1 100644
--- a/idl/inc/basobj.hxx
+++ b/idl/inc/basobj.hxx
@@ -107,24 +107,6 @@ public:
virtual bool ReadSvIdl( SvIdlDataBase &, SvTokenStream & rInStm );
};
-class SvMetaObjectMemberStack
-{
- SvRefMemberList<SvMetaObject *> aList;
-public:
- SvMetaObjectMemberStack() {;}
-
- void Push( SvMetaObject * pObj )
- { aList.push_back( pObj ); }
- void Pop() { aList.pop_back(); }
- SvMetaObject * Get( std::function<bool ( const SvMetaObject* )> isSvMetaObject )
- {
- for( SvRefMemberList<SvMetaObject *>::reverse_iterator it = aList.rbegin(); it != aList.rend(); ++it )
- if( isSvMetaObject(*it) )
- return *it;
- return nullptr;
- }
-};
-
class SvMetaReference : public SvMetaObject
{
protected: