Kaydet (Commit) a6b45607 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Julien Nabet

Fix typos

Change-Id: Ica623a5312196ff6a3538027e7c72ba4afe92f5c
Reviewed-on: https://gerrit.libreoffice.org/57604Reviewed-by: 's avatarChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: 's avatarChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>
üst c69e7266
......@@ -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
......
......@@ -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();
......
......@@ -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;
......
......@@ -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
......
......@@ -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;
......
......@@ -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
......
......@@ -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),
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment