summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/data/column.cxx2
-rw-r--r--sc/source/filter/oox/formulabuffer.cxx2
-rw-r--r--sc/source/ui/Accessibility/AccessibleDocument.cxx14
-rw-r--r--sc/source/ui/view/viewfun3.cxx2
4 files changed, 10 insertions, 10 deletions
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index 268ec1b7793c..ec19876bcd65 100644
--- a/sc/source/core/data/column.cxx
+++ b/sc/source/core/data/column.cxx
@@ -706,7 +706,7 @@ void ScColumn::SetPatternArea( SCROW nStartRow, SCROW nEndRow,
void ScColumn::ApplyAttr( SCROW nRow, const SfxPoolItem& rAttr )
{
// in order to only create a new SetItem, we don't need SfxItemPoolCache.
- //TODO: Warning: SfxItemPoolCache seems to create to many Refs for the new SetItem ??
+ //TODO: Warning: SfxItemPoolCache seems to create too many Refs for the new SetItem ??
ScDocumentPool* pDocPool = GetDoc()->GetPool();
diff --git a/sc/source/filter/oox/formulabuffer.cxx b/sc/source/filter/oox/formulabuffer.cxx
index 0561bba62e92..ccd0cf56f357 100644
--- a/sc/source/filter/oox/formulabuffer.cxx
+++ b/sc/source/filter/oox/formulabuffer.cxx
@@ -155,7 +155,7 @@ void applySharedFormulas(
pCell->SetResultDouble(rDesc.maCellValue.toDouble());
/* TODO: is it on purpose that we never reset dirty here
* and thus recalculate anyway if cell was dirty? Or is it
- * never dirty and therefor set dirty below otherwise? This
+ * never dirty and therefore set dirty below otherwise? This
* is different from the non-shared case in
* applyCellFormulaValues(). */
break;
diff --git a/sc/source/ui/Accessibility/AccessibleDocument.cxx b/sc/source/ui/Accessibility/AccessibleDocument.cxx
index 421d7d5dff4b..7c1438d8792c 100644
--- a/sc/source/ui/Accessibility/AccessibleDocument.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx
@@ -1850,7 +1850,7 @@ void SAL_CALL
if (mpChildrenShapes && mpViewShell)
{
- sal_Int32 nCount(mpChildrenShapes->GetCount()); //all shapes and the table
+ sal_Int32 nCount(mpChildrenShapes->GetCount()); // all shapes and the table
if (mxTempAcc.is())
++nCount;
if (nChildIndex < 0 || nChildIndex >= nCount)
@@ -1862,7 +1862,7 @@ void SAL_CALL
bool bWasTableSelected(IsTableSelected());
if (mpChildrenShapes)
- mpChildrenShapes->Select(nChildIndex); // throws no lang::IndexOutOfBoundsException if Index is to high
+ mpChildrenShapes->Select(nChildIndex); // throws no lang::IndexOutOfBoundsException if Index is too high
if (bWasTableSelected)
mpViewShell->SelectAll();
@@ -1884,7 +1884,7 @@ sal_Bool SAL_CALL
if (mpChildrenShapes)
{
- sal_Int32 nCount(mpChildrenShapes->GetCount()); //all shapes and the table
+ sal_Int32 nCount(mpChildrenShapes->GetCount()); // all shapes and the table
if (mxTempAcc.is())
++nCount;
if (nChildIndex < 0 || nChildIndex >= nCount)
@@ -1894,7 +1894,7 @@ sal_Bool SAL_CALL
if (xAccessible.is())
{
uno::Reference<drawing::XShape> xShape;
- bResult = mpChildrenShapes->IsSelected(nChildIndex, xShape); // throws no lang::IndexOutOfBoundsException if Index is to high
+ bResult = mpChildrenShapes->IsSelected(nChildIndex, xShape); // throws no lang::IndexOutOfBoundsException if Index is too high
}
else
{
@@ -1967,7 +1967,7 @@ uno::Reference<XAccessible > SAL_CALL
bool bTabMarked(IsTableSelected());
if (mpChildrenShapes)
- xAccessible = mpChildrenShapes->GetSelected(nSelectedChildIndex, bTabMarked); // throws no lang::IndexOutOfBoundsException if Index is to high
+ xAccessible = mpChildrenShapes->GetSelected(nSelectedChildIndex, bTabMarked); // throws no lang::IndexOutOfBoundsException if Index is too high
if (mxTempAcc.is() && nSelectedChildIndex == nCount - 1)
xAccessible = mxTempAcc;
else if (bTabMarked)
@@ -1987,7 +1987,7 @@ void SAL_CALL
if (mpChildrenShapes && mpViewShell)
{
- sal_Int32 nCount(mpChildrenShapes->GetCount()); //all shapes and the table
+ sal_Int32 nCount(mpChildrenShapes->GetCount()); // all shapes and the table
if (mxTempAcc.is())
++nCount;
if (nChildIndex < 0 || nChildIndex >= nCount)
@@ -1999,7 +1999,7 @@ void SAL_CALL
if (xAccessible.is())
{
if (mpChildrenShapes)
- mpChildrenShapes->Deselect(nChildIndex); // throws no lang::IndexOutOfBoundsException if Index is to high
+ mpChildrenShapes->Deselect(nChildIndex); // throws no lang::IndexOutOfBoundsException if Index is too high
if (bTabMarked)
mpViewShell->SelectAll(); // select the table again
diff --git a/sc/source/ui/view/viewfun3.cxx b/sc/source/ui/view/viewfun3.cxx
index fc9c4386d18f..f43dd6c125e1 100644
--- a/sc/source/ui/view/viewfun3.cxx
+++ b/sc/source/ui/view/viewfun3.cxx
@@ -914,7 +914,7 @@ bool ScViewFunc::PasteFromClip( InsertDeleteFlags nFlags, ScDocument* pClipDoc,
// include filtered rows until TransposeClip can skip them
bIncludeFiltered = true;
pClipDoc->GetClipArea( nX, nY, true );
- if ( nY > static_cast<sal_Int32>(MAXCOL) ) // to many lines for transpose
+ if ( nY > static_cast<sal_Int32>(MAXCOL) ) // too many lines for transpose
{
ErrorMessage(STR_PASTE_FULL);
return false;