diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-17 17:05:29 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-17 18:45:15 +0100 |
commit | 03725013b64e74473e1a9e925b24927e7e61d412 (patch) | |
tree | 3f7c276d44feda7071b296f0c73b4b7c111b5011 /svx/source/dialog/rulritem.cxx | |
parent | 20223e2374bb6a966e44471c224d22d968d19025 (diff) |
bool improvements
Change-Id: Ic46fa46c200b94e2e6c5a073ba89b9aae5c14542
Diffstat (limited to 'svx/source/dialog/rulritem.cxx')
-rw-r--r-- | svx/source/dialog/rulritem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/rulritem.cxx b/svx/source/dialog/rulritem.cxx index 2abb3c5981c0..8e0f4d1b50df 100644 --- a/svx/source/dialog/rulritem.cxx +++ b/svx/source/dialog/rulritem.cxx @@ -712,7 +712,7 @@ SvxColumnDescription::SvxColumnDescription(long start, long end, long endMin, lo nEndMax (endMax) {} -int SvxColumnDescription::operator==(const SvxColumnDescription& rCmp) const +bool SvxColumnDescription::operator==(const SvxColumnDescription& rCmp) const { return nStart == rCmp.nStart && bVisible == rCmp.bVisible @@ -721,7 +721,7 @@ int SvxColumnDescription::operator==(const SvxColumnDescription& rCmp) const && nEndMax == rCmp.nEndMax; } -int SvxColumnDescription::operator!=(const SvxColumnDescription& rCmp) const +bool SvxColumnDescription::operator!=(const SvxColumnDescription& rCmp) const { return !operator==(rCmp); } |