diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-23 13:40:30 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-23 13:40:46 +0100 |
commit | 7abe546e8105dff10536b7496ec46f911d6b9882 (patch) | |
tree | 69696c35030984b76eb8e8ab139c9447e851d4c7 /include/vcl/font.hxx | |
parent | 12546c8511f0cc8eec0ca7e8cb86ff00dfd429e6 (diff) |
bool improvements
Change-Id: I3a3a2122902e1731e95d8469dfe9efc5a6b567ee
Diffstat (limited to 'include/vcl/font.hxx')
-rw-r--r-- | include/vcl/font.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/font.hxx b/include/vcl/font.hxx index b597c114dc37..8a2fb764282a 100644 --- a/include/vcl/font.hxx +++ b/include/vcl/font.hxx @@ -126,8 +126,8 @@ public: void GetFontAttributes( ImplFontAttributes& rAttrs ) const; Font& operator=( const Font& ); - sal_Bool operator==( const Font& ) const; - sal_Bool operator!=( const Font& rFont ) const + bool operator==( const Font& ) const; + bool operator!=( const Font& rFont ) const { return !(Font::operator==( rFont )); } sal_Bool IsSameInstance( const Font& ) const; |