summaryrefslogtreecommitdiffstats
path: root/sc/inc/viewopti.hxx
diff options
context:
space:
mode:
authorAlbert Thuswaldner <albert.thuswaldner@gmail.com>2012-04-15 17:15:20 +0200
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-04-17 15:02:28 -0400
commit3ef53adf7eb7ea68fe4ba5b8f4fee8a7c6014756 (patch)
tree71adae02a73e88186fd5da81a7f802be5da3f3de /sc/inc/viewopti.hxx
parentresolved rhbz#813280 the current document is not always the first in list (diff)
downloadcore-3ef53adf7eb7ea68fe4ba5b8f4fee8a7c6014756.tar.gz
core-3ef53adf7eb7ea68fe4ba5b8f4fee8a7c6014756.zip
Have operators of ScViewOptions and ScPrintOptions return bool instead of int
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 0c763cefb697..b82f566d26e8 100644
--- a/sc/inc/viewopti.hxx
+++ b/sc/inc/viewopti.hxx
@@ -83,8 +83,8 @@ public:
void SetDefaults();
const ScGridOptions& operator= ( const ScGridOptions& rCpy );
- int operator== ( const ScGridOptions& rOpt ) const;
- int operator!= ( const ScGridOptions& rOpt ) const { return !(operator==(rOpt)); }
+ bool operator== ( const ScGridOptions& rOpt ) const;
+ bool operator!= ( const ScGridOptions& rOpt ) const { return !(operator==(rOpt)); }
};
//==================================================================