Kaydet (Commit) 40c45e0f authored tarafından Noel Grandin's avatar Noel Grandin

remove unused bIsOwner field in SfxHint

Change-Id: I676039b07519fbed3b92c6ada0fa8217ee2cbe27
üst aebcabd5
......@@ -36,21 +36,18 @@ public:
class Visibility Name: public SfxHint \
{ \
Type* pObj; \
bool bIsOwner; \
\
public: \
TYPEINFO_OVERRIDE(); \
explicit Name( Type* Object, bool bOwnedByHint = false ); \
explicit Name( Type* Object ); \
virtual ~Name(); \
\
Type* GetObject() const { return pObj; } \
bool IsOwner() const { return bIsOwner; } \
}
#define IMPL_PTRHINT(Name, Type) \
TYPEINIT1(Name, SfxHint); \
Name::Name( Type* pObject, bool bOwnedByHint ) \
{ pObj = pObject; bIsOwner = bOwnedByHint; } \
Name::Name( Type* pObject ) { pObj = pObject; } \
Name::~Name() {}
......
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