diff options
author | Albert Thuswaldner <albert.thuswaldner@gmail.com> | 2012-04-15 17:15:20 +0200 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-04-17 15:02:28 -0400 |
commit | 3ef53adf7eb7ea68fe4ba5b8f4fee8a7c6014756 (patch) | |
tree | 71adae02a73e88186fd5da81a7f802be5da3f3de /sc/inc | |
parent | e1ca72ca9f783a2f956f1445ce82cd3eacffe4a2 (diff) |
Have operators of ScViewOptions and ScPrintOptions return bool instead of int
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/printopt.hxx | 4 | ||||
-rw-r--r-- | sc/inc/viewopti.hxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/printopt.hxx b/sc/inc/printopt.hxx index 5883e7ccb18c..8e32b7c0ecc1 100644 --- a/sc/inc/printopt.hxx +++ b/sc/inc/printopt.hxx @@ -52,8 +52,8 @@ public: void SetDefaults(); const ScPrintOptions& operator= ( const ScPrintOptions& rCpy ); - int operator== ( const ScPrintOptions& rOpt ) const; - int operator!= ( const ScPrintOptions& rOpt ) const; + bool operator== ( const ScPrintOptions& rOpt ) const; + bool operator!= ( const ScPrintOptions& rOpt ) const; }; //================================================================== 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)); } }; //================================================================== |