[Libreoffice-commits] core.git: sc/source
Andrea Gelmini (via logerrit)
logerrit at kemper.freedesktop.org
Mon Aug 12 09:07:54 UTC 2019
sc/source/ui/view/gridwin.cxx | 2 +-
sc/source/ui/view/gridwin4.cxx | 2 +-
sc/source/ui/view/notemark.cxx | 2 +-
sc/source/ui/view/output.cxx | 4 ++--
sc/source/ui/view/output2.cxx | 2 +-
sc/source/ui/view/preview.cxx | 2 +-
sc/source/ui/view/prevwsh.cxx | 2 +-
sc/source/ui/view/printfun.cxx | 2 +-
sc/source/ui/view/spelldialog.cxx | 2 +-
sc/source/ui/view/tabview.cxx | 4 ++--
10 files changed, 12 insertions(+), 12 deletions(-)
New commits:
commit 49973c27e2d4e288433afd8177c2d6b3d399bf75
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sun Aug 11 18:45:56 2019 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Mon Aug 12 11:06:52 2019 +0200
Fix typos
Change-Id: Ibcf33db2157ce10c037a70a3e7c3ec586505f60b
Reviewed-on: https://gerrit.libreoffice.org/77292
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 815a5e14c59b..c2ceabd35c77 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -328,7 +328,7 @@ void ScFilterFloatingWindow::dispose()
static bool lcl_IsEditableMatrix( ScDocument* pDoc, const ScRange& rRange )
{
- // If it is a editable range and if there is a Matrix cell at the bottom right with an
+ // If it is an editable range and if there is a Matrix cell at the bottom right with an
// origin top left then the range will be set to contain the exact matrix.
//! Extract the MatrixEdges functions directly from the column ???
if ( !pDoc->IsBlockEditable( rRange.aStart.Tab(), rRange.aStart.Col(),rRange.aStart.Row(),
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx
index 074318662ecd..8cdf4572337e 100644
--- a/sc/source/ui/view/gridwin4.cxx
+++ b/sc/source/ui/view/gridwin4.cxx
@@ -306,7 +306,7 @@ void ScGridWindow::Paint( vcl::RenderContext& /*rRenderContext*/, const tools::R
ScDocument* pDoc = pViewData->GetDocument();
if ( pDoc->IsInInterpreter() )
{
- // Via Reschedule, interpretended cells do not trigger Invalidate again,
+ // Via Reschedule, interpreted cells do not trigger Invalidate again,
// otherwise for instance an error box would never appear (bug 36381).
// Later, through bNeedsRepaint everything is painted again.
if ( bNeedsRepaint )
diff --git a/sc/source/ui/view/notemark.cxx b/sc/source/ui/view/notemark.cxx
index 719c682d0bf4..689340797c62 100644
--- a/sc/source/ui/view/notemark.cxx
+++ b/sc/source/ui/view/notemark.cxx
@@ -102,7 +102,7 @@ IMPL_LINK_NOARG(ScNoteMarker, TimeHdl, Timer *, void)
// This is no longer true - SdrObject::RecalcBoundRect() uses the
// GetViewContact().getViewIndependentPrimitive2DContainer()) call
// that now by default adds the eventually needed GridOffset. Thus
- // I have removed that adaption stuff.
+ // I have removed that adaptation stuff.
m_aRect = m_xObject->GetCurrentBoundRect();
}
diff --git a/sc/source/ui/view/output.cxx b/sc/source/ui/view/output.cxx
index accad5cbe1ac..6dea393f43f7 100644
--- a/sc/source/ui/view/output.cxx
+++ b/sc/source/ui/view/output.cxx
@@ -1634,7 +1634,7 @@ void ScOutputData::DrawRotatedFrame(vcl::RenderContext& rRenderContext)
{
tools::Polygon aPoly(4, aPoints);
- // for DrawPolygon, whitout Pen one pixel is left out
+ // for DrawPolygon, without Pen one pixel is left out
// to the right and below...
if (rColor.GetTransparency() == 0)
rRenderContext.SetLineColor(rColor);
@@ -1650,7 +1650,7 @@ void ScOutputData::DrawRotatedFrame(vcl::RenderContext& rRenderContext)
tools::Polygon aPoly(4, aPoints);
boost::optional<Color> const & pColor = pInfo->mxColorScale;
- // for DrawPolygon, whitout Pen one pixel is left out
+ // for DrawPolygon, without Pen one pixel is left out
// to the right and below...
if (pColor->GetTransparency() == 0)
rRenderContext.SetLineColor(*pColor);
diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx
index 4b4c4334c328..337d7ab3223e 100644
--- a/sc/source/ui/view/output2.cxx
+++ b/sc/source/ui/view/output2.cxx
@@ -4265,7 +4265,7 @@ void ScOutputData::DrawEdit(bool bPixelToLogic)
nLastContentCol - mpDoc->GetEmptyLinesInBlock( nX2+1, nY1, nTab, MAXCOL, nY2, nTab, DIR_RIGHT ) );
long nRowPosY = nScrY;
- for (SCSIZE nArrY=0; nArrY+1<nArrCount; nArrY++) // 0 fo the rest of the merged
+ for (SCSIZE nArrY=0; nArrY+1<nArrCount; nArrY++) // 0 of the rest of the merged
{
RowInfo* pThisRowInfo = &pRowInfo[nArrY];
diff --git a/sc/source/ui/view/preview.cxx b/sc/source/ui/view/preview.cxx
index 175955cfbc5b..01944bcb3678 100644
--- a/sc/source/ui/view/preview.cxx
+++ b/sc/source/ui/view/preview.cxx
@@ -761,7 +761,7 @@ long ScPreview::GetFirstPage(SCTAB nTabP)
{
CalcPages();
if (nTabP >= static_cast<SCTAB>(nPages.size()) )
- OSL_FAIL("nPages out ouf bounds, FIX IT");
+ OSL_FAIL("nPages out of bounds, FIX IT");
UpdateDrawView(); // The table eventually changes
for (SCTAB i=0; i<nTabP; i++)
diff --git a/sc/source/ui/view/prevwsh.cxx b/sc/source/ui/view/prevwsh.cxx
index baedb225ecca..28f949cab5cf 100644
--- a/sc/source/ui/view/prevwsh.cxx
+++ b/sc/source/ui/view/prevwsh.cxx
@@ -541,7 +541,7 @@ void ScPreviewShell::Activate(bool bMDI)
if (bMDI)
{
- // InputHdl is now mostly Null, no moreasssertion!
+ // InputHdl is now mostly Null, no more assertion!
ScInputHandler* pInputHdl = SC_MOD()->GetInputHdl();
if ( pInputHdl )
pInputHdl->NotifyChange( nullptr );
diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx
index 125c60048e7e..8828afe25c6e 100644
--- a/sc/source/ui/view/printfun.cxx
+++ b/sc/source/ui/view/printfun.cxx
@@ -2343,7 +2343,7 @@ void ScPrintFunc::PrintPage( long nPageNo, SCCOL nX1, SCROW nY1, SCCOL nX2, SCRO
pDev->SetLineColor( aGridColor );
pDev->SetFillColor();
pDev->DrawRect( tools::Rectangle( nLeftX, nTopY, nRightX, nBottomY ) );
- // nEndX/Y without frame-adaption
+ // nEndX/Y without frame-adaptation
}
if ( pPrinter && bDoPrint )
diff --git a/sc/source/ui/view/spelldialog.cxx b/sc/source/ui/view/spelldialog.cxx
index 5bc29c704f6b..4e48cf7698cb 100644
--- a/sc/source/ui/view/spelldialog.cxx
+++ b/sc/source/ui/view/spelldialog.cxx
@@ -192,7 +192,7 @@ void ScSpellDialogChildWindow::Init()
ScEditableTester aTester( mpDoc, rMarkData );
if( !aTester.IsEditable() )
{
- // #i85751# Don't show a ErrorMessage here, because the vcl
+ // #i85751# Don't show an ErrorMessage here, because the vcl
// parent of the InfoBox is not fully initialized yet.
// This leads to problems in the modality behaviour of the
// ScSpellDialogChildWindow.
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index a3e62ecce066..0005a3b2da07 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -410,7 +410,7 @@ void ScTabView::DoResize( const Point& rOffset, const Size& rSize, bool bInner )
{
case SC_SPLIT_NONE:
nSizeSp = nSplitSizeX;
- nSizeLt = nSizeX - nSizeSp; // Covert the corner
+ nSizeLt = nSizeX - nSizeSp; // Convert the corner
break;
case SC_SPLIT_NORMAL:
nSizeSp = nSplitSizeX;
@@ -2337,7 +2337,7 @@ void lcl_getGroupIndexes(const ScOutlineArray& rArray, SCCOLROW nStart, SCCOLROW
{
if (nIndex > 0)
{
- // is there a prevoius group not inside the range
+ // is there a previous group not inside the range
// but anyway intersecting it ?
const ScOutlineEntry* pPrevEntry = rArray.GetEntry(nLevel, nIndex - 1);
if (pPrevEntry && nStart < pPrevEntry->GetEnd())
More information about the Libreoffice-commits
mailing list