summaryrefslogtreecommitdiff
path: root/include/svx/gridctrl.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-21 10:39:12 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-21 10:39:12 +0100
commit98fba37bb1e2c5fd10d57d20d6e139765eb69751 (patch)
tree14f77c32abc948c109622f72b31e666dc5952611 /include/svx/gridctrl.hxx
parent9d4a40f108e24422dc7aad60f4d17bff08449e90 (diff)
Consistently let SetDesingMode functions take bool argument
...to avoid "warning C4805: '!=' : unsafe mix of type 'bool' and type 'sal_Bool' in opertaion" style errors. Additionally, mark those functions that are virtual overrides as such. Change-Id: I64f919f7e2d8f6224303f9bac67f6270d58de014
Diffstat (limited to 'include/svx/gridctrl.hxx')
-rw-r--r--include/svx/gridctrl.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/gridctrl.hxx b/include/svx/gridctrl.hxx
index 673f60442a57..9c457b8ec818 100644
--- a/include/svx/gridctrl.hxx
+++ b/include/svx/gridctrl.hxx
@@ -419,7 +419,7 @@ public:
sal_uInt16 GetColumnIdFromViewPos( sal_uInt16 nPos ) const { return GetColumnId(nPos + 1); }
sal_uInt16 GetColumnIdFromModelPos( sal_uInt16 nPos ) const;
- virtual void SetDesignMode(sal_Bool bMode);
+ virtual void SetDesignMode(bool bMode);
sal_Bool IsDesignMode() const {return m_bDesignMode;}
sal_Bool IsOpen() const {return m_pSeekCursor != NULL;}