summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-09-29 17:58:05 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-09-30 06:30:53 +0000
commit185f207ef17d58ea81d0c17c1a37cf14647cc71a (patch)
tree24955c63ae56d1d674704bf1ae18b4164869d4a0 /sc
parent7de7eeff1c92427262a2400c69daf2c84cffe088 (diff)
Fix typos
Change-Id: I3ea8a90f0ec917b4e26335fcd31a5f7e0888589e Reviewed-on: https://gerrit.libreoffice.org/18972 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/tabview.cxx8
-rw-r--r--sc/source/ui/view/tabview3.cxx2
-rw-r--r--sc/source/ui/view/tabview5.cxx2
-rw-r--r--sc/source/ui/view/tabvwsh4.cxx2
-rw-r--r--sc/source/ui/view/tabvwshb.cxx2
-rw-r--r--sc/workben/addin.cxx2
6 files changed, 9 insertions, 9 deletions
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index 87d0f09869c1..88787fdf1f80 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -527,7 +527,7 @@ void ScTabView::DoResize( const Point& rOffset, const Size& rSize, bool bInner )
}
}
- // SetDragRectPixel also whithout Scrollbars etc., when already split
+ // SetDragRectPixel also without Scrollbars etc., when already split
if ( bHScroll || aViewData.GetHSplitMode() != SC_SPLIT_NONE )
pHSplitter->SetDragRectPixel(
Rectangle( nPosX, nPosY, nPosX+nSizeX, nPosY+nSizeY ), pFrameWin );
@@ -1132,7 +1132,7 @@ IMPL_LINK_TYPED( ScTabView, ScrollHdl, ScrollBar*, pScroll, void )
break;
case SCROLL_DRAG:
{
- // only scroll in the corret direction, do not jitter around hidden ranges
+ // only scroll in the correct direction, do not jitter around hidden ranges
long nScrollMin = 0; // simulate RangeMin
if ( aViewData.GetHSplitMode()==SC_SPLIT_FIX && pScroll == aHScrollRight.get() )
nScrollMin = aViewData.GetFixPosX();
@@ -1352,8 +1352,8 @@ namespace
SCROW lcl_LastVisible( ScViewData& rViewData )
{
// If many rows are hidden at end of the document (what kind of idiot does that?),
- // then there should not be a switch to wide row headers beacause of this
- //! as a member to the document ???
+ // then there should not be a switch to wide row headers because of this
+ //! as a member to the document???
ScDocument* pDoc = rViewData.GetDocument();
SCTAB nTab = rViewData.GetTabNo();
diff --git a/sc/source/ui/view/tabview3.cxx b/sc/source/ui/view/tabview3.cxx
index 1b84422768e5..fc5df5226613 100644
--- a/sc/source/ui/view/tabview3.cxx
+++ b/sc/source/ui/view/tabview3.cxx
@@ -1883,7 +1883,7 @@ void ScTabView::KillEditView( bool bNoPaint )
{
// should be done like this, so that Sfx notice it, but it does not work:
//! aViewData.GetViewShell()->GetViewFrame()->GetWindow().GrabFocus();
-// therfore first like this:
+// therefore first like this:
GetActiveWin()->GrabFocus();
}
diff --git a/sc/source/ui/view/tabview5.cxx b/sc/source/ui/view/tabview5.cxx
index c3f551647305..9887de002bce 100644
--- a/sc/source/ui/view/tabview5.cxx
+++ b/sc/source/ui/view/tabview5.cxx
@@ -472,7 +472,7 @@ void ScTabView::DrawEnableAnim(bool bSet)
sal_uInt16 i;
if ( pDrawView )
{
- // dont start animations if display of graphics is disabled
+ // don't start animations if display of graphics is disabled
// graphics are controlled by VOBJ_TYPE_OLE
if ( bSet && aViewData.GetOptions().GetObjMode(VOBJ_TYPE_OLE) == VOBJ_MODE_SHOW )
{
diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx
index 408687ae31a7..67d5a391d3b7 100644
--- a/sc/source/ui/view/tabvwsh4.cxx
+++ b/sc/source/ui/view/tabvwsh4.cxx
@@ -1628,7 +1628,7 @@ void ScTabViewShell::Construct( TriState nForceDesignMode )
pDocSh->SetUpdateEnabled(false);
if ( GetViewFrame()->GetFrame().IsInPlace() )
- UpdateHeaderWidth(); // The implace activation requires headers to be calculated
+ UpdateHeaderWidth(); // The inplace activation requires headers to be calculated
SvBorder aBorder;
GetBorderSize( aBorder, Size() );
diff --git a/sc/source/ui/view/tabvwshb.cxx b/sc/source/ui/view/tabvwshb.cxx
index 3dc426ec999e..c92fc55b65bc 100644
--- a/sc/source/ui/view/tabvwshb.cxx
+++ b/sc/source/ui/view/tabvwshb.cxx
@@ -265,7 +265,7 @@ void ScTabViewShell::ExecDrawIns(SfxRequest& rReq)
UpdateInputHandler();
}
- // inertion of border for Chart is cancelled:
+ // insertion of border for Chart is cancelled:
FuPoor* pPoor = GetDrawFuncPtr();
if ( pPoor && pPoor->GetSlotID() == SID_DRAW_CHART )
GetViewData().GetDispatcher().Execute(SID_DRAW_CHART, SfxCallMode::SLOT | SfxCallMode::RECORD);
diff --git a/sc/workben/addin.cxx b/sc/workben/addin.cxx
index 60089b318a19..4ec33382a4f9 100644
--- a/sc/workben/addin.cxx
+++ b/sc/workben/addin.cxx
@@ -369,7 +369,7 @@ sal_Int32 SAL_CALL ScTestAddIn::getColorValue( const ::com::sun::star::uno::Refe
long nRet = -1;
uno::Any aTrans = xProp->getPropertyValue( L"IsCellBackgroundTransparent" );
sal_Bool bIsTrans;
- aTrans >>= bIsTrans; //! dont use >>= for BOOL
+ aTrans >>= bIsTrans; //! don't use >>= for BOOL
if (!bIsTrans)
{
uno::Any aCol = xProp->getPropertyValue( L"CellBackColor" );