diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-17 17:11:45 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-17 18:45:16 +0100 |
commit | c963d7e642c24f40c19fb9dc227db5da96728c12 (patch) | |
tree | 81fbcb736dad59a7e0d3bcd8f9e6b84e99bb5607 /sw/inc/swevent.hxx | |
parent | 8711842d1b861544ed4a934f675adbed7cf83f32 (diff) |
bool improvements
Change-Id: I9324483db587be43238af79c2148d724397a4622
Diffstat (limited to 'sw/inc/swevent.hxx')
-rw-r--r-- | sw/inc/swevent.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/swevent.hxx b/sw/inc/swevent.hxx index 8bb787ef5ca3..e89c89e73755 100644 --- a/sw/inc/swevent.hxx +++ b/sw/inc/swevent.hxx @@ -99,13 +99,13 @@ struct SwCallMouseEvent void Set( const SwFmtINetFmt* pINetAttr ) { eType = EVENT_OBJECT_INETATTR; PTR.pINetAttr = pINetAttr; PTR.IMAP.pIMapObj = 0; } - int operator==( const SwCallMouseEvent& rEvent ) const + bool operator==( const SwCallMouseEvent& rEvent ) const { return eType == rEvent.eType && PTR.pFmt == rEvent.PTR.pFmt && PTR.IMAP.pIMapObj == rEvent.PTR.IMAP.pIMapObj; } - int operator!=( const SwCallMouseEvent& rEvent ) const + bool operator!=( const SwCallMouseEvent& rEvent ) const { return !( *this == rEvent ); } void Clear() |