summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-25 12:49:17 +0200
committerCaolán McNamara <caolanm@redhat.com>2014-04-28 11:37:37 +0000
commit883481fd200510f5ae62e7ab7cd18f7d925c2c47 (patch)
treee33af672348ab9a9719f1b49184edfbb46f21f03 /sc/source/ui/inc
parenta3abc602578270582ab7d8df9ef34ef9503234de (diff)
Improve TabBar return types
DeactivatePage() goes from returning long to returning bool. StartRenaming goes from returning long to returning bool. AllowRenaming goes from returning long to returning a constant from a new enum. Change-Id: Ib87e8d7ceb4e23846547257b358ca4dfd41eb6ca Reviewed-on: https://gerrit.libreoffice.org/9161 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui/inc')
-rw-r--r--sc/source/ui/inc/tabcont.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/inc/tabcont.hxx b/sc/source/ui/inc/tabcont.hxx
index d04e02643f9f..644a2f9a8750 100644
--- a/sc/source/ui/inc/tabcont.hxx
+++ b/sc/source/ui/inc/tabcont.hxx
@@ -58,8 +58,8 @@ protected:
virtual void StartDrag( sal_Int8 nAction, const Point& rPosPixel ) SAL_OVERRIDE;
- virtual long StartRenaming() SAL_OVERRIDE;
- virtual long AllowRenaming() SAL_OVERRIDE;
+ virtual bool StartRenaming() SAL_OVERRIDE;
+ virtual TabBarAllowRenamingReturnCode AllowRenaming() SAL_OVERRIDE;
virtual void EndRenaming() SAL_OVERRIDE;
virtual void Mirror() SAL_OVERRIDE;