summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-02-22 09:38:34 +0200
committerTor Lillqvist <tml@iki.fi>2013-02-22 09:39:11 +0200
commit2926bd4d6bce5115e4de8e8e155cbeb9fd66e3a4 (patch)
tree41bb22783665311d54d94d45e827f370fdc8e533 /editeng
parentd1ccb1eea871ca4064693b58d2926d4939018614 (diff)
s/whith/with/
Change-Id: I23da81c182ad30faf871d98e55820295418207d0
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/editeng.cxx2
-rw-r--r--editeng/source/editeng/impedit3.cxx2
-rw-r--r--editeng/source/editeng/impedit5.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx
index 42f4a1811885..1c8eda199379 100644
--- a/editeng/source/editeng/editeng.cxx
+++ b/editeng/source/editeng/editeng.cxx
@@ -2031,7 +2031,7 @@ Point EditEngine::GetDocPosTopLeft( sal_uInt16 nParagraph )
if ( pPPortion )
{
- // If someone calls GetLineHeight() whith an empty Engine.
+ // If someone calls GetLineHeight() with an empty Engine.
DBG_ASSERT( pImpEditEngine->IsFormatted() || !pImpEditEngine->IsFormatting(), "GetDocPosTopLeft: Doc not formatted - unable to format!" );
if ( !pImpEditEngine->IsFormatted() )
pImpEditEngine->FormatAndUpdate();
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index 4f94c06e1bff..626458dc1c7d 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -3935,7 +3935,7 @@ EditSelection ImpEditEngine::MoveParagraphs( Range aOldPositions, sal_uInt16 nNe
// ( and correspondingly in between as well...)
if ( pCurView && ( GetUpdateMode() == sal_True ) )
{
- // in this case one can redraw directly whithout invalidating the
+ // in this case one can redraw directly without invalidating the
// Portions
sal_uInt16 nFirstPortion = Min( (sal_uInt16)aOldPositions.Min(), nNewPos );
sal_uInt16 nLastPortion = Max( (sal_uInt16)aOldPositions.Max(), nNewPos );
diff --git a/editeng/source/editeng/impedit5.cxx b/editeng/source/editeng/impedit5.cxx
index 0918594ee59d..0848697bda5e 100644
--- a/editeng/source/editeng/impedit5.cxx
+++ b/editeng/source/editeng/impedit5.cxx
@@ -494,7 +494,7 @@ void ImpEditEngine::SetAttribs( EditSelection aSel, const SfxItemSet& rSet, sal_
aSel.Adjust( aEditDoc );
// When no selection => use the Attribute on the word.
- // ( the RTF-parser should actually never call the Method whithout a Range )
+ // ( the RTF-parser should actually never call the Method without a Range )
if ( ( nSpecial == ATTRSPECIAL_WHOLEWORD ) && !aSel.HasRange() )
aSel = SelectWord( aSel, ::com::sun::star::i18n::WordType::ANYWORD_IGNOREWHITESPACES, sal_False );