summaryrefslogtreecommitdiffstats
path: root/editeng
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-08-16 13:55:31 +0200
committerJens Carl <j.carl43@gmx.de>2018-08-16 23:50:54 +0200
commit57abecebc1b6c114b93fea34f133ac4eeb157dc3 (patch)
tree5d388d46c0386d835705b5f78b2765a11378a86c /editeng
parentsw: save one vcl layout call in SwFntObj::DrawText() (diff)
downloadcore-57abecebc1b6c114b93fea34f133ac4eeb157dc3.tar.gz
core-57abecebc1b6c114b93fea34f133ac4eeb157dc3.zip
Fix typo: s/an other/another/g
Change-Id: I203c546cfca841e7853282267190e20b60919add Reviewed-on: https://gerrit.libreoffice.org/59098 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit.cxx4
-rw-r--r--editeng/source/editeng/impedit.hxx2
-rw-r--r--editeng/source/editeng/impedit2.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx
index 4580a573ed19..7b8f9fbd112e 100644
--- a/editeng/source/editeng/impedit.cxx
+++ b/editeng/source/editeng/impedit.cxx
@@ -451,7 +451,7 @@ void ImpEditView::DrawSelectionXOR( EditSelection aTmpSel, vcl::Region* pRegion,
if (mpOtherShell)
{
- // An other shell wants to know about our existing selection.
+ // Another shell wants to know about our existing selection.
if (mpViewShell != mpOtherShell)
mpViewShell->NotifyOtherView(mpOtherShell, LOK_CALLBACK_TEXT_VIEW_SELECTION, "selection", sRectangle);
}
@@ -1108,7 +1108,7 @@ void ImpEditView::ShowCursor( bool bGotoCursor, bool bForceVisCursor )
OString sRect = aRect.toString();
if (mpOtherShell)
{
- // An other shell wants to know about our existing cursor.
+ // Another shell wants to know about our existing cursor.
if (mpViewShell != mpOtherShell)
mpViewShell->NotifyOtherView(mpOtherShell, LOK_CALLBACK_INVALIDATE_VIEW_CURSOR, "rectangle", sRect);
}
diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx
index 737b347a4192..c8199bd72045 100644
--- a/editeng/source/editeng/impedit.hxx
+++ b/editeng/source/editeng/impedit.hxx
@@ -230,7 +230,7 @@ private:
std::unique_ptr<Color> pBackgroundColor;
/// Containing view shell, if any.
OutlinerViewShell* mpViewShell;
- /// An other shell, just listening to our state, if any.
+ /// Another shell, just listening to our state, if any.
OutlinerViewShell* mpOtherShell;
EditEngine* pEditEngine;
VclPtr<vcl::Window> pOutWin;
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index 8a38a97661db..a3a3c374d3a9 100644
--- a/editeng/source/editeng/impedit2.cxx
+++ b/editeng/source/editeng/impedit2.cxx
@@ -1663,7 +1663,7 @@ void ImpEditEngine::InitScriptTypes( sal_Int32 nPara )
}
// ... but if the first one is LATIN, and there are CJK or CTL chars too,
- // we prefer that ScripType because we need an other font.
+ // we prefer that ScriptType because we need another font.
if ( ( nTmpType == i18n::ScriptType::ASIAN ) || ( nTmpType == i18n::ScriptType::COMPLEX ) )
{
aText = aText.replaceAt( pField->GetStart(), 1, aFldText.copy(nCharInField,1) );