[Libreoffice-commits] core.git: include/svl
Noel Grandin
noel at peralex.com
Tue Aug 26 23:35:27 PDT 2014
include/svl/hint.hxx | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
New commits:
commit 40c45e0fac44c2a43ef556ea86d08a69d8958bce
Author: Noel Grandin <noel at peralex.com>
Date: Wed Aug 27 08:31:36 2014 +0200
remove unused bIsOwner field in SfxHint
Change-Id: I676039b07519fbed3b92c6ada0fa8217ee2cbe27
diff --git a/include/svl/hint.hxx b/include/svl/hint.hxx
index f47dbc8..b2c3ac1 100644
--- a/include/svl/hint.hxx
+++ b/include/svl/hint.hxx
@@ -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() {}
More information about the Libreoffice-commits
mailing list