diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-13 14:43:38 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-14 14:15:18 +0200 |
commit | 5f0878472cef1024cd726bc64dfb90b872ad48a8 (patch) | |
tree | 4b02a5fe81053ddebf460dc455ea0402458d9e25 /sc | |
parent | 6c9aca77637365426cbc7153a73284fbc1821ba4 (diff) |
sal_bool->bool
Change-Id: I684b6243ad87f9941e9f2147c2eee6f975cb8179
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx b/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx index 42dd8e2a8b64..6ec1a625d46a 100644 --- a/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx +++ b/sc/source/ui/Accessibility/AccessiblePreviewHeaderCell.cxx @@ -75,7 +75,7 @@ using namespace ::com::sun::star::accessibility; ScAccessiblePreviewHeaderCell::ScAccessiblePreviewHeaderCell( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible>& rxParent, ScPreviewShell* pViewShell, - const ScAddress& rCellPos, sal_Bool bIsColHdr, sal_Bool bIsRowHdr, + const ScAddress& rCellPos, bool bIsColHdr, bool bIsRowHdr, sal_Int32 nIndex ) : ScAccessibleContextBase( rxParent, AccessibleRole::TABLE_CELL ), mpViewShell( pViewShell ), @@ -417,7 +417,7 @@ OUString SAL_CALL ScAccessiblePreviewHeaderCell::createAccessibleName() throw(un return sName; } -sal_Bool ScAccessiblePreviewHeaderCell::IsDefunc( const uno::Reference<XAccessibleStateSet>& rxParentStates ) +bool ScAccessiblePreviewHeaderCell::IsDefunc( const uno::Reference<XAccessibleStateSet>& rxParentStates ) { return ScAccessibleContextBase::IsDefunc() || (mpViewShell == NULL) || !getAccessibleParent().is() || (rxParentStates.is() && rxParentStates->contains(AccessibleStateType::DEFUNC)); diff --git a/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx b/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx index 4bcf6c0915ea..ff86ddad1aab 100644 --- a/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx +++ b/sc/source/ui/inc/AccessiblePreviewHeaderCell.hxx @@ -45,7 +45,7 @@ public: ScAccessiblePreviewHeaderCell( const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible>& rxParent, ScPreviewShell* pViewShell, - const ScAddress& rCellPos, sal_Bool bIsColHdr, sal_Bool bIsRowHdr, + const ScAddress& rCellPos, bool bIsColHdr, bool bIsRowHdr, sal_Int32 nIndex ); protected: @@ -128,11 +128,11 @@ private: accessibility::AccessibleTextHelper* mpTextHelper; sal_Int32 mnIndex; ScAddress maCellPos; - sal_Bool mbColumnHeader; - sal_Bool mbRowHeader; + bool mbColumnHeader; + bool mbRowHeader; mutable ScPreviewTableInfo* mpTableInfo; - sal_Bool IsDefunc( + bool IsDefunc( const com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleStateSet>& rxParentStates); |