diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 16:54:22 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-20 17:25:33 +0200 |
commit | 5eef994ba9286b0fa0c606e4441d3ac83a6ed8e3 (patch) | |
tree | 8ba0c75e6a6f7744bf8cf5dccf36ae6f620308ad /svx | |
parent | e2baeba6e263d3fbc474ed7e5640a8cbc2936768 (diff) |
Replace vector<sal_Bool> with vector<bool>
Looks like the use of these vectors is simple enough to not have to worry too
much about the common wisdom to avoid vector<bool>.
Change-Id: Ie4d6b51e42365a7c8d1de59a787bb13f78cd2a11
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/table/accessibletableshape.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/table/accessibletableshape.cxx b/svx/source/table/accessibletableshape.cxx index 40798bb750c1..1eb50e061697 100644 --- a/svx/source/table/accessibletableshape.cxx +++ b/svx/source/table/accessibletableshape.cxx @@ -543,7 +543,7 @@ Reference< XAccessibleTable > SAL_CALL AccessibleTableShape::getAccessibleColumn Sequence< sal_Int32 > SAL_CALL AccessibleTableShape::getSelectedAccessibleRows( ) throw (RuntimeException, std::exception) { sal_Int32 nRow = getAccessibleRowCount(); - ::std::vector< sal_Bool > aSelected( nRow, sal_True ); + ::std::vector<bool> aSelected( nRow, true ); sal_Int32 nCount = nRow; for( sal_Int32 i = 0; i < nRow; i++ ) { @@ -579,7 +579,7 @@ Sequence< sal_Int32 > SAL_CALL AccessibleTableShape::getSelectedAccessibleRows( Sequence< sal_Int32 > SAL_CALL AccessibleTableShape::getSelectedAccessibleColumns( ) throw (RuntimeException, std::exception) { sal_Int32 nColumn = getAccessibleColumnCount(); - ::std::vector< sal_Bool > aSelected( nColumn, sal_True ); + ::std::vector<bool> aSelected( nColumn, true ); sal_Int32 nCount = nColumn; for( sal_Int32 i = 0; i < nColumn; i++ ) { @@ -1176,7 +1176,7 @@ Reference< XAccessibleTable > SAL_CALL AccessibleTableHeaderShape::getAccessible Sequence< sal_Int32 > SAL_CALL AccessibleTableHeaderShape::getSelectedAccessibleRows( ) throw (RuntimeException, std::exception) { sal_Int32 nRow = getAccessibleRowCount(); - ::std::vector< sal_Bool > aSelected( nRow, sal_True ); + ::std::vector<bool> aSelected( nRow, true ); sal_Int32 nCount = nRow; for( sal_Int32 i = 0; i < nRow; i++ ) { @@ -1211,7 +1211,7 @@ Sequence< sal_Int32 > SAL_CALL AccessibleTableHeaderShape::getSelectedAccessible Sequence< sal_Int32 > SAL_CALL AccessibleTableHeaderShape::getSelectedAccessibleColumns( ) throw (RuntimeException, std::exception) { sal_Int32 nColumn = getAccessibleColumnCount(); - ::std::vector< sal_Bool > aSelected( nColumn, sal_True ); + ::std::vector<bool> aSelected( nColumn, true ); sal_Int32 nCount = nColumn; for( sal_Int32 i = 0; i < nColumn; i++ ) { |