summaryrefslogtreecommitdiff
path: root/sc/source/ui/view
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2016-02-02 19:47:20 +0100
committerjan iversen <jani@documentfoundation.org>2016-02-05 06:48:38 +0000
commit534b2a4b58ba765dbc256d6297e33453524915e2 (patch)
tree68524baff923ce094392f49e0f263ae0d35f80e9 /sc/source/ui/view
parent7f5de2436a5c51ee8dec38a9b04f4a1b3589e361 (diff)
Fix typos
Change-Id: Ice72f8d9971e15dd6ef365e64cd567b8581a92d3 Reviewed-on: https://gerrit.libreoffice.org/21797 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r--sc/source/ui/view/gridwin.cxx4
-rw-r--r--sc/source/ui/view/gridwin3.cxx2
-rw-r--r--sc/source/ui/view/gridwin4.cxx4
-rw-r--r--sc/source/ui/view/tabview.cxx2
4 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 69c16cef2bbe..935d730eaeea 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -4738,7 +4738,7 @@ void ScGridWindow::UpdateFormulas()
if ( nPaintCount )
{
- // Do nto start, switched to paint
+ // Do not start, switched to paint
// (then at least the MapMode would no longer be right)
bNeedsRepaint = true; // -> at end of paint run Invalidate on all
@@ -5079,7 +5079,7 @@ static void lcl_PaintRefChanged( ScDocShell* pDocSh, const ScRange& rOldUn, cons
lcl_PaintOneRange( pDocSh, aOld, SCE_ALL );
}
- else // Test all four corners seperately
+ else // Test all four corners separately
{
// upper part
if ( nNewRow1 < nOldRow1 ) // only delete upper line
diff --git a/sc/source/ui/view/gridwin3.cxx b/sc/source/ui/view/gridwin3.cxx
index e8335c437f19..dbf146cae3d8 100644
--- a/sc/source/ui/view/gridwin3.cxx
+++ b/sc/source/ui/view/gridwin3.cxx
@@ -242,7 +242,7 @@ MapMode ScGridWindow::GetDrawMapMode( bool bForce )
// FIXME this shouldn't be necessary once we change the entire Calc to
// work in the logic coordinates (ideally 100ths of mm - so that it is
// the same as editeng and drawinglayer), and get rid of all the
- // SetMapMode's and other unneccessary fun we have with pixels
+ // SetMapMode's and other unnecessary fun we have with pixels
if (comphelper::LibreOfficeKit::isActive())
{
return pViewData->GetLogicMode();
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx
index 9005f8b5b672..c6f0a6c67bf4 100644
--- a/sc/source/ui/view/gridwin4.cxx
+++ b/sc/source/ui/view/gridwin4.cxx
@@ -71,7 +71,7 @@ static void lcl_LimitRect( Rectangle& rRect, const Rectangle& rVisible )
if ( rRect.Top() < rVisible.Top()-1 ) rRect.Top() = rVisible.Top()-1;
if ( rRect.Bottom() > rVisible.Bottom()+1 ) rRect.Bottom() = rVisible.Bottom()+1;
- // The header row must be drawn also when the inner rectangle is not visable,
+ // The header row must be drawn also when the inner rectangle is not visible,
// that is why there is no return value anymore.
// When it is far away, then lcl_DrawOneFrame is not even called.
}
@@ -595,7 +595,7 @@ void ScGridWindow::DrawContent(OutputDevice &rDevice, const ScTableInfo& rTableI
// FIXME this shouldn't be necessary once we change the entire Calc to
// work in the logic coordinates (ideally 100ths of mm - so that it is
// the same as editeng and drawinglayer), and get rid of all the
- // SetMapMode's and other unneccessary fun we have with pixels
+ // SetMapMode's and other unnecessary fun we have with pixels
// See also ScGridWindow::GetDrawMapMode() for the rest of this hack
aDrawMode.SetOrigin(PixelToLogic(Point(nScrX, nScrY), aDrawMode));
}
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index ecb50caa53cc..9895bb79e14b 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -245,7 +245,7 @@ void ScTabView::InitScrollBar( ScrollBar& rScrollBar, long nMaxVal )
{
rScrollBar.SetRange( Range( 0, nMaxVal ) );
rScrollBar.SetLineSize( 1 );
- rScrollBar.SetPageSize( 1 ); // is queried seperately
+ rScrollBar.SetPageSize( 1 ); // is queried separately
rScrollBar.SetVisibleSize( 10 ); // is reset by Resize
rScrollBar.SetScrollHdl( LINK(this, ScTabView, ScrollHdl) );