summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-07-17 23:18:07 +0200
committerJulien Nabet <serval2412@yahoo.fr>2018-07-19 14:05:44 +0200
commita6b456076f4e4f689e77cffbb661f2cae62a1502 (patch)
tree5c226f7ef9f5890afeea46c38474c7a75bc89fde /sc
parentc69e7266916ac1b8917477fb4eccdb9098da5792 (diff)
Fix typos
Change-Id: Ica623a5312196ff6a3538027e7c72ba4afe92f5c Reviewed-on: https://gerrit.libreoffice.org/57604 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/address.hxx2
-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
5 files changed, 11 insertions, 11 deletions
diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx
index 37a401ef0194..63ddb00188ba 100644
--- a/sc/inc/address.hxx
+++ b/sc/inc/address.hxx
@@ -73,7 +73,7 @@ const SCROW MAXROW = MAXROWCOUNT - 1;
const SCCOL MAXCOL = MAXCOLCOUNT - 1;
const SCTAB MAXTAB = MAXTABCOUNT - 1;
const SCCOLROW MAXCOLROW = MAXROW;
-// Maximun tiled rendering values
+// Maximum tiled rendering values
const SCROW MAXTILEDROW = 500000;
// Limit the initial tab count to prevent users to set the count too high,
// which could cause the memory usage of blank documents to exceed the
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;