summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
-rw-r--r--sd/source/ui/inc/PreviewRenderer.hxx4
-rw-r--r--sd/source/ui/view/frmview.cxx2
-rw-r--r--sfx2/source/control/shell.cxx2
8 files changed, 15 insertions, 15 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;
diff --git a/sd/source/ui/inc/PreviewRenderer.hxx b/sd/source/ui/inc/PreviewRenderer.hxx
index e8d815d59bcc..5ac928ee905f 100644
--- a/sd/source/ui/inc/PreviewRenderer.hxx
+++ b/sd/source/ui/inc/PreviewRenderer.hxx
@@ -51,8 +51,8 @@ public:
/** Render a page with the given pixel size.
Use this version when only the width of the preview is known to the
- caller. The height is then calculated according to the aspect
- ration of the given page.
+ caller. The height is then calculated according to the aspect
+ ratio of the given page.
@param pPage
The page to render.
@param nWidth
diff --git a/sd/source/ui/view/frmview.cxx b/sd/source/ui/view/frmview.cxx
index f28469956422..450ee2fab12a 100644
--- a/sd/source/ui/view/frmview.cxx
+++ b/sd/source/ui/view/frmview.cxx
@@ -50,7 +50,7 @@ using namespace ::std;
namespace sd {
-FrameView::FrameView(SdDrawDocument* pDrawDoc, FrameView* pFrameView /* = NULK */)
+FrameView::FrameView(SdDrawDocument* pDrawDoc, FrameView* pFrameView /* = NULL */)
: SdrView(*pDrawDoc, nullptr), // TTTT SdDrawDocument* -> should be reference
mnRefCount(0),
mnPresViewShellId(SID_VIEWSHELL0),
diff --git a/sfx2/source/control/shell.cxx b/sfx2/source/control/shell.cxx
index 3c48c749625e..42ff95827f77 100644
--- a/sfx2/source/control/shell.cxx
+++ b/sfx2/source/control/shell.cxx
@@ -546,7 +546,7 @@ void SfxShell::SetVerbs(const css::uno::Sequence < css::embed::VerbDescriptor >&
for (sal_Int32 n=0; n<aVerbs.getLength(); n++)
{
sal_uInt16 nSlotId = SID_VERB_START + nr++;
- DBG_ASSERT(nSlotId <= SID_VERB_END, "To many Verbs!");
+ DBG_ASSERT(nSlotId <= SID_VERB_END, "Too many Verbs!");
if (nSlotId > SID_VERB_END)
break;