summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit.cxx2
-rw-r--r--editeng/source/editeng/impedit2.cxx2
-rw-r--r--editeng/source/editeng/impedit3.cxx2
-rw-r--r--editeng/source/editeng/impedit4.cxx2
-rw-r--r--editeng/source/editeng/textconv.cxx2
5 files changed, 5 insertions, 5 deletions
diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx
index 9eae423aa50a..0736d05c7060 100644
--- a/editeng/source/editeng/impedit.cxx
+++ b/editeng/source/editeng/impedit.cxx
@@ -573,7 +573,7 @@ void ImpEditView::SetAnchorMode( EVAnchorMode eMode )
void ImpEditView::CalcAnchorPoint()
{
- // GetHeight() and GetWidth() -1, because rectangle calculation not prefered.
+ // GetHeight() and GetWidth() -1, because rectangle calculation not preferred.
// X:
switch ( eAnchorMode )
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index d1c879c49861..c7fca54d8c54 100644
--- a/editeng/source/editeng/impedit2.cxx
+++ b/editeng/source/editeng/impedit2.cxx
@@ -3101,7 +3101,7 @@ sal_uInt32 ImpEditEngine::CalcTextWidth( sal_Bool bIgnoreExtraSpace )
OSL_ENSURE( pLine, "NULL-Pointer in the line iterator in CalcWidth" );
// nCurWidth = pLine->GetStartPosX();
// For Center- or Right- alignment it depends on the paper
- // width, here not prefered. I general, it is best not leave it
+ // width, here not preferred. I general, it is best not leave it
// to StartPosX, also the right indents have to be taken into
// account!
nCurWidth = GetXValue( rLRItem.GetTxtLeft() + nSpaceBeforeAndMinLabelWidth );
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index 99b851d0fb32..d5fec025bc93 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -4327,7 +4327,7 @@ void ImpEditEngine::ImplInitLayoutMode( OutputDevice* pOutDev, sal_Int32 nPara,
}
else
{
- // CTL/Bidi checking neccessary
+ // CTL/Bidi checking necessary
// Don't use BIDI_STRONG, VCL must do some checks.
nLayoutMode &= ~( TEXT_LAYOUT_COMPLEX_DISABLED | TEXT_LAYOUT_BIDI_STRONG );
diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx
index f9adc4c5da1c..68cddecbea3d 100644
--- a/editeng/source/editeng/impedit4.cxx
+++ b/editeng/source/editeng/impedit4.cxx
@@ -156,7 +156,7 @@ EditPaM ImpEditEngine::ReadRTF( SvStream& rInput, EditSelection aSel )
aSel = ImpDeleteSelection( aSel );
// The SvRTF parser expects the Which-mapping passed on in the pool, not
- // dependant on a secondary.
+ // dependent on a secondary.
SfxItemPool* pPool = &aEditDoc.GetItemPool();
while (pPool->GetSecondaryPool() && !pPool->GetName().startsWith("EditEngineItemPool"))
{
diff --git a/editeng/source/editeng/textconv.cxx b/editeng/source/editeng/textconv.cxx
index 2a315878b14f..a204bfc32a36 100644
--- a/editeng/source/editeng/textconv.cxx
+++ b/editeng/source/editeng/textconv.cxx
@@ -440,7 +440,7 @@ void TextConvWrapper::ChangeText( const OUString &rNewText,
const uno::Sequence< sal_Int32 > *pOffsets,
ESelection *pESelection )
{
- //!! code is a modifed copy of SwHHCWrapper::ChangeText from sw !!
+ //!! code is a modified copy of SwHHCWrapper::ChangeText from sw !!
DBG_ASSERT( !rNewText.isEmpty(), "unexpected empty string" );
if (rNewText.isEmpty())