diff options
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/view/tabview.cxx | 8 | ||||
-rw-r--r-- | sc/source/ui/view/tabview3.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/tabview5.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/tabvwsh4.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/tabvwshb.cxx | 2 |
5 files changed, 8 insertions, 8 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); |