summaryrefslogtreecommitdiff
path: root/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/Accessibility/AccessiblePreviewTable.cxx')
-rw-r--r--sc/source/ui/Accessibility/AccessiblePreviewTable.cxx38
1 files changed, 19 insertions, 19 deletions
diff --git a/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx b/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx
index fd98a67dbd7e..d0fb20d19e10 100644
--- a/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx
+++ b/sc/source/ui/Accessibility/AccessiblePreviewTable.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -52,8 +52,8 @@
#include <unotools/accessiblestatesethelper.hxx>
#include <comphelper/sequence.hxx>
-using namespace ::com::sun::star;
-using namespace ::com::sun::star::accessibility;
+using namespace ::com::sun::star;
+using namespace ::com::sun::star::accessibility;
//===== internal ============================================================
@@ -104,8 +104,8 @@ void ScAccessiblePreviewTable::Notify( SfxBroadcaster& rBC, const SfxHint& rHint
ULONG nId = rRef.GetId();
if ( nId == SFX_HINT_DATACHANGED )
{
- // column / row layout may change with any document change,
- // so it must be invalidated
+ // column / row layout may change with any document change,
+ // so it must be invalidated
DELETEZ( mpTableInfo );
}
else if (rRef.GetId() == SC_HINT_ACC_VISAREACHANGED)
@@ -173,7 +173,7 @@ rtl::OUString SAL_CALL ScAccessiblePreviewTable::getAccessibleRowDescription( sa
throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
{
// is not supported or specified so not implemented
-/* SolarMutexGuard aGuard;
+/* SolarMutexGuard aGuard;
IsObjectValid();
FillTableInfo();
@@ -184,7 +184,7 @@ rtl::OUString SAL_CALL ScAccessiblePreviewTable::getAccessibleRowDescription( sa
const ScPreviewColRowInfo& rInfo = mpTableInfo->GetRowInfo()[nRow];
if ( rInfo.bIsHeader )
{
- //! name of column headers row?
+ //! name of column headers row?
sName = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Column Headers"));
}
@@ -209,7 +209,7 @@ rtl::OUString SAL_CALL ScAccessiblePreviewTable::getAccessibleColumnDescription(
throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
{
// is not supported or specified so not implemented
-/* SolarMutexGuard aGuard;
+/* SolarMutexGuard aGuard;
IsObjectValid();
FillTableInfo();
@@ -220,7 +220,7 @@ rtl::OUString SAL_CALL ScAccessiblePreviewTable::getAccessibleColumnDescription(
const ScPreviewColRowInfo& rInfo = mpTableInfo->GetColInfo()[nColumn];
if ( rInfo.bIsHeader )
{
- //! name of row headers column?
+ //! name of row headers column?
sName = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Row Headers"));
}
@@ -258,7 +258,7 @@ sal_Int32 SAL_CALL ScAccessiblePreviewTable::getAccessibleRowExtentAt( sal_Int32
if ( rColInfo.bIsHeader || rRowInfo.bIsHeader )
{
- // header cells only span a single cell
+ // header cells only span a single cell
}
else
{
@@ -292,7 +292,7 @@ sal_Int32 SAL_CALL ScAccessiblePreviewTable::getAccessibleColumnExtentAt( sal_In
if ( rColInfo.bIsHeader || rRowInfo.bIsHeader )
{
- // header cells only span a single cell
+ // header cells only span a single cell
}
else
{
@@ -323,20 +323,20 @@ uno::Reference< XAccessibleTable > SAL_CALL ScAccessiblePreviewTable::getAccessi
uno::Sequence< sal_Int32 > SAL_CALL ScAccessiblePreviewTable::getSelectedAccessibleRows() throw (uno::RuntimeException)
{
- // in the page preview, there is no selection
+ // in the page preview, there is no selection
return uno::Sequence<sal_Int32>(0);
}
uno::Sequence< sal_Int32 > SAL_CALL ScAccessiblePreviewTable::getSelectedAccessibleColumns() throw (uno::RuntimeException)
{
- // in the page preview, there is no selection
+ // in the page preview, there is no selection
return uno::Sequence<sal_Int32>(0);
}
sal_Bool SAL_CALL ScAccessiblePreviewTable::isAccessibleRowSelected( sal_Int32 nRow )
throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
{
- // in the page preview, there is no selection
+ // in the page preview, there is no selection
SolarMutexGuard aGuard;
FillTableInfo();
@@ -349,7 +349,7 @@ sal_Bool SAL_CALL ScAccessiblePreviewTable::isAccessibleRowSelected( sal_Int32 n
sal_Bool SAL_CALL ScAccessiblePreviewTable::isAccessibleColumnSelected( sal_Int32 nColumn )
throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
{
- // in the page preview, there is no selection
+ // in the page preview, there is no selection
SolarMutexGuard aGuard;
FillTableInfo();
@@ -370,7 +370,7 @@ uno::Reference< XAccessible > SAL_CALL ScAccessiblePreviewTable::getAccessibleCe
uno::Reference<XAccessible> xRet;
if ( mpTableInfo && nColumn >= 0 && nRow >= 0 && nColumn < mpTableInfo->GetCols() && nRow < mpTableInfo->GetRows() )
{
- // index iterates horizontally
+ // index iterates horizontally
long nNewIndex = nRow * mpTableInfo->GetCols() + nColumn;
const ScPreviewColRowInfo& rColInfo = mpTableInfo->GetColInfo()[nColumn];
@@ -413,7 +413,7 @@ uno::Reference< XAccessible > SAL_CALL ScAccessiblePreviewTable::getAccessibleSu
sal_Bool SAL_CALL ScAccessiblePreviewTable::isAccessibleSelected( sal_Int32 nRow, sal_Int32 nColumn )
throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
{
- // in the page preview, there is no selection
+ // in the page preview, there is no selection
SolarMutexGuard aGuard;
IsObjectValid();
@@ -421,7 +421,7 @@ sal_Bool SAL_CALL ScAccessiblePreviewTable::isAccessibleSelected( sal_Int32 nRow
if ( mpTableInfo && nColumn >= 0 && nRow >= 0 && nColumn < mpTableInfo->GetCols() && nRow < mpTableInfo->GetRows() )
{
- // index iterates horizontally
+ // index iterates horizontally
}
else
throw lang::IndexOutOfBoundsException();
@@ -440,7 +440,7 @@ sal_Int32 SAL_CALL ScAccessiblePreviewTable::getAccessibleIndex( sal_Int32 nRow,
sal_Int32 nRet = 0;
if ( mpTableInfo && nColumn >= 0 && nRow >= 0 && nColumn < mpTableInfo->GetCols() && nRow < mpTableInfo->GetRows() )
{
- // index iterates horizontally
+ // index iterates horizontally
nRet = nRow * mpTableInfo->GetCols() + nColumn;
}
else