From 7319f5faccc74dd1a0662c803a2c1428f7b7446e Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Tue, 29 Sep 2015 18:09:26 +0200 Subject: Fix typos Change-Id: Ic3d2171521e308261c354d8f699b44b26c95f1ea Reviewed-on: https://gerrit.libreoffice.org/18978 Reviewed-by: Samuel Mehrbrodt Tested-by: Samuel Mehrbrodt --- starmath/source/accessibility.cxx | 2 +- starmath/source/cursor.cxx | 2 +- starmath/source/document.cxx | 2 +- starmath/source/mathmlimport.cxx | 2 +- starmath/source/mathtype.cxx | 4 ++-- starmath/source/view.cxx | 2 +- starmath/source/visitors.cxx | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) (limited to 'starmath/source') diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx index 7831b1591926..843ec7cb96ae 100644 --- a/starmath/source/accessibility.cxx +++ b/starmath/source/accessibility.cxx @@ -1145,7 +1145,7 @@ static SfxItemState GetSvxEditEngineItemState( EditEngine& rEditEngine, const ES // if we already found an item if( pParaItem ) { - // ... and its different to this one than the state is dont care + // ... and its different to this one than the state is don't care if( *pParaItem != *(i->pAttr) ) return SfxItemState::DONTCARE; } diff --git a/starmath/source/cursor.cxx b/starmath/source/cursor.cxx index c8ad785b7c68..3449384aab47 100644 --- a/starmath/source/cursor.cxx +++ b/starmath/source/cursor.cxx @@ -1458,7 +1458,7 @@ void SmCursor::EndEdit(){ if( pDocShell->GetCreateMode() == SfxObjectCreateMode::EMBEDDED ) pDocShell->OnDocumentPrinterChanged(0); - //Request a replaint... + //Request a repaint... RequestRepaint(); //Update the edit engine and text of the document diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx index b38a55f6f3da..c240e7cdb962 100644 --- a/starmath/source/document.cxx +++ b/starmath/source/document.cxx @@ -1279,7 +1279,7 @@ void SmDocShell::SetVisArea(const Rectangle & rVisArea) EnableSetModified( false ); //TODO/LATER: it's unclear how this interacts with the SFX code - // If outplace editing, then dont resize the OutplaceWindow. But the + // If outplace editing, then don't resize the OutplaceWindow. But the // ObjectShell has to resize. Bug 56470 bool bUnLockFrame; if( GetCreateMode() == SfxObjectCreateMode::EMBEDDED && !IsInPlaceActive() && GetFrame() ) diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx index 9514aab048cd..19a38907af2f 100644 --- a/starmath/source/mathmlimport.cxx +++ b/starmath/source/mathmlimport.cxx @@ -1055,7 +1055,7 @@ void SmXMLErrorContext_Impl::EndElement() /*Right now the error tag is completely ignored, what can I do with it in starmath, ?, maybe we need a report window ourselves, do a test for validity of - the xml input, use merrors, and then generate + the xml input, use mirrors, and then generate the markup inside the merror with a big red colour of something. For now just throw them all away. */ diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx index 59482723f4d5..4c9d08a340f2 100644 --- a/starmath/source/mathtype.cxx +++ b/starmath/source/mathtype.cxx @@ -637,8 +637,8 @@ void MathType::HandleNudge() pS->ReadUInt16( nYLongNudge ); } } -/*Fabously complicated as many tokens have to be reordered and generally - *moved around from mathtypes paradigm to starmaths.*/ +/* Fabulously complicated as many tokens have to be reordered and generally + * moved around from mathtypes paradigm to starmaths. */ int MathType::HandleRecords(int nLevel,sal_uInt8 nSelector, sal_uInt8 nVariation, int nMatrixRows,int nMatrixCols) { diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index 574755ba7d84..d548b61d2925 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -822,7 +822,7 @@ IMPL_LINK_NOARG_TYPED( SmCmdBoxWindow, InitialFocusTimerHdl, Timer *, void ) // Problem: There is no proper way to do this // Thus: this timer based solution has been implemented (see GrabFocus below) - // Follow-up problem (#i114910): grabing the focus may bust the help system since + // Follow-up problem (#i114910): grabbing the focus may bust the help system since // it relies on getting the current frame which conflicts with grabbing the focus. // Thus aside from the 'GrabFocus' call everything else is to get the // help reliably working despite using 'GrabFocus'. diff --git a/starmath/source/visitors.cxx b/starmath/source/visitors.cxx index 301a637927dd..54e696188fb4 100644 --- a/starmath/source/visitors.cxx +++ b/starmath/source/visitors.cxx @@ -1568,7 +1568,7 @@ void SmCaretPosGraphBuildingVisitor::Visit( SmAttributNode* pNode ) mpRightMost = right; } -//Consider these single symboles +//Consider these single symbols void SmCaretPosGraphBuildingVisitor::Visit( SmSpecialNode* pNode ) { SmCaretPosGraphEntry* right = mpGraph->Add( SmCaretPos( pNode, 1 ), mpRightMost ); -- cgit