summaryrefslogtreecommitdiff
path: root/sc/inc/viewopti.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-14 21:21:23 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-14 21:28:09 +0100
commit8b28c064fa7863b365cbb7fc920bc3ac3067dd27 (patch)
tree21340b6aefa72a2de48bc5f1c0aa52ba72b636e2 /sc/inc/viewopti.hxx
parent0c9d002ecdd410b8b5be1fc91f4b84c7cbe5f5bc (diff)
bool improvements
Change-Id: I27609462f2daba6b2289aff7a6a96686c961f3ce
Diffstat (limited to 'sc/inc/viewopti.hxx')
-rw-r--r--sc/inc/viewopti.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/viewopti.hxx b/sc/inc/viewopti.hxx
index 0c7cfd656ac0..0277a1e86d04 100644
--- a/sc/inc/viewopti.hxx
+++ b/sc/inc/viewopti.hxx
@@ -99,8 +99,8 @@ public:
SvxGridItem* CreateGridItem( sal_uInt16 nId = SID_ATTR_GRID_OPTIONS ) const;
const ScViewOptions& operator= ( const ScViewOptions& rCpy );
- int operator== ( const ScViewOptions& rOpt ) const;
- int operator!= ( const ScViewOptions& rOpt ) const { return !(operator==(rOpt)); }
+ bool operator== ( const ScViewOptions& rOpt ) const;
+ bool operator!= ( const ScViewOptions& rOpt ) const { return !(operator==(rOpt)); }
private:
bool aOptArr [MAX_OPT];