summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-09-05 18:50:09 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-09-06 09:24:07 +0200
commit39214c54efbefb1d78754ad14f936882c326a482 (patch)
tree3ede90b6c7cb8d156f41fd1849e33b433050fc1d /editeng
parent22ef2a15bb5cae4b877449237bb8d3e41f2d49db (diff)
Typos
Mainly fixing '....' and '..' Change-Id: Ic928701b319868671b826d757dd94c296fd5e942 Reviewed-on: https://gerrit.libreoffice.org/78668 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/editdoc.cxx4
-rw-r--r--editeng/source/editeng/editeng.cxx4
-rw-r--r--editeng/source/editeng/editview.cxx4
-rw-r--r--editeng/source/editeng/eertfpar.cxx2
-rw-r--r--editeng/source/editeng/impedit.cxx2
-rw-r--r--editeng/source/editeng/impedit.hxx2
-rw-r--r--editeng/source/editeng/impedit2.cxx8
-rw-r--r--editeng/source/editeng/impedit4.cxx4
-rw-r--r--editeng/source/editeng/impedit5.cxx8
9 files changed, 19 insertions, 19 deletions
diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx
index 576dcfbbb4d9..a9192ec63b43 100644
--- a/editeng/source/editeng/editdoc.cxx
+++ b/editeng/source/editeng/editdoc.cxx
@@ -1450,7 +1450,7 @@ void ContentNode::CopyAndCutAttribs( ContentNode* pPrevNode, SfxItemPool& rPool,
{
if ( pAttrib->GetEnd() < nCut )
{
- // remain unchanged ....
+ // remain unchanged...
;
}
else if ( pAttrib->GetEnd() == nCut )
@@ -2524,7 +2524,7 @@ void EditDoc::InsertAttrib( ContentNode* pNode, sal_Int32 nStart, sal_Int32 nEnd
EditCharAttrib* pAttr = rAttrList.FindEmptyAttrib( rPoolItem.Which(), nStart );
if ( pAttr )
{
- // Remove attribute....
+ // Remove attribute...
rAttrList.Remove(pAttr);
}
diff --git a/editeng/source/editeng/editeng.cxx b/editeng/source/editeng/editeng.cxx
index ef821184ec7b..582c42d56062 100644
--- a/editeng/source/editeng/editeng.cxx
+++ b/editeng/source/editeng/editeng.cxx
@@ -2383,7 +2383,7 @@ sal_Int32 EditEngine::FindParagraph( long nDocPosY )
EPosition EditEngine::FindDocPosition( const Point& rDocPos ) const
{
EPosition aPos;
- // From the point of the API, this is const....
+ // From the point of the API, this is const...
EditPaM aPaM = const_cast<EditEngine*>(this)->pImpEditEngine->GetPaM( rDocPos, false );
if ( aPaM.GetNode() )
{
@@ -2716,7 +2716,7 @@ bool EditEngine::HasValidData( const css::uno::Reference< css::datatransfer::XTr
if ( rTransferable.is() )
{
- // Every application that copies rtf or any other text format also copies plain text into the clipboard....
+ // Every application that copies rtf or any other text format also copies plain text into the clipboard...
datatransfer::DataFlavor aFlavor;
SotExchange::GetFormatDataFlavor( SotClipboardFormatId::STRING, aFlavor );
bValidData = rTransferable->isDataFlavorSupported( aFlavor );
diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx
index 23deae365db8..641a920d7ba2 100644
--- a/editeng/source/editeng/editview.cxx
+++ b/editeng/source/editeng/editview.cxx
@@ -513,7 +513,7 @@ const SfxItemSet& EditView::GetEmptyItemSet()
void EditView::SetAttribs( const SfxItemSet& rSet )
{
- DBG_ASSERT( !pImpEditView->aEditSelection.IsInvalid(), "Blind Selection in ...." );
+ DBG_ASSERT( !pImpEditView->aEditSelection.IsInvalid(), "Blind Selection in..." );
pImpEditView->DrawSelectionXOR();
pImpEditView->pEditEngine->SetAttribs( pImpEditView->GetEditSelection(), rSet, SetAttribsMode::WholeWord );
@@ -560,7 +560,7 @@ void EditView::RemoveCharAttribs( sal_Int32 nPara, sal_uInt16 nWhich )
SfxItemSet EditView::GetAttribs()
{
- DBG_ASSERT( !pImpEditView->aEditSelection.IsInvalid(), "Blind Selection in ...." );
+ DBG_ASSERT( !pImpEditView->aEditSelection.IsInvalid(), "Blind Selection in..." );
return pImpEditView->pEditEngine->pImpEditEngine->GetAttribs( pImpEditView->GetEditSelection() );
}
diff --git a/editeng/source/editeng/eertfpar.cxx b/editeng/source/editeng/eertfpar.cxx
index 02df47e17d2d..a8fac71a7c72 100644
--- a/editeng/source/editeng/eertfpar.cxx
+++ b/editeng/source/editeng/eertfpar.cxx
@@ -399,7 +399,7 @@ void EditRTFParser::SetAttrInDoc( SvxRTFItemStackType &rSet )
mpEditEngine->SetAttribs(
EditSelection(aStartPaM, EditPaM(aStartPaM.GetNode(), aStartPaM.GetNode()->Len())), rSet.GetAttrSet());
- // the beginning of the EndNodes....
+ // the beginning of the EndNodes...
if ( aEndPaM.GetIndex() == aEndPaM.GetNode()->Len() )
mpEditEngine->SetParaAttribsOnly(nEndNode, rSet.GetAttrSet());
else
diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx
index 45192712de69..265dc3cbe79c 100644
--- a/editeng/source/editeng/impedit.cxx
+++ b/editeng/source/editeng/impedit.cxx
@@ -1736,7 +1736,7 @@ bool ImpEditView::SetCursorAtPoint( const Point& rPointPixel )
// Can be optimized: first go through the lines within a paragraph for PAM,
// then again with the PaM for the Rect, even though the line is already
- // known .... This must not be, though!
+ // known... This must not be, though!
EditPaM aPaM = pEditEngine->GetPaM(aDocPos);
bool bGotoCursor = DoAutoScroll();
diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx
index 6e065352ee68..26c9d25961fa 100644
--- a/editeng/source/editeng/impedit.hxx
+++ b/editeng/source/editeng/impedit.hxx
@@ -492,7 +492,7 @@ private:
OnDemandLocaleDataWrapper xLocaleDataWrapper;
OnDemandTransliterationWrapper xTransliterationWrapper;
- // For Formatting / Update ....
+ // For Formatting / Update...
std::vector<std::unique_ptr<DeletedNodeInfo> > aDeletedNodes;
tools::Rectangle aInvalidRect;
sal_uInt32 nCurTextHeight;
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index b66c4fa7638f..75a5e741c471 100644
--- a/editeng/source/editeng/impedit2.cxx
+++ b/editeng/source/editeng/impedit2.cxx
@@ -2439,7 +2439,7 @@ EditPaM ImpEditEngine::ImpDeleteSelection(const EditSelection& rCurSel)
OSL_ENSURE( nEndNode != EE_PARA_NOT_FOUND, "Start > End ?!" );
OSL_ENSURE( nStartNode <= nEndNode, "Start > End ?!" );
- // Remove all nodes in between ....
+ // Remove all nodes in between...
for ( sal_Int32 z = nStartNode+1; z < nEndNode; z++ )
{
// Always nStartNode+1, due to Remove()!
@@ -2454,14 +2454,14 @@ EditPaM ImpEditEngine::ImpDeleteSelection(const EditSelection& rCurSel)
OSL_ENSURE( pPortion, "Blind Portion in ImpDeleteSelection(3)" );
pPortion->MarkSelectionInvalid( aStartPaM.GetIndex() );
- // The beginning of the EndNodes....
+ // The beginning of the EndNodes...
const sal_Int32 nChars = aEndPaM.GetIndex();
aEndPaM.SetIndex( 0 );
ImpRemoveChars( aEndPaM, nChars );
pPortion = FindParaPortion( aEndPaM.GetNode() );
OSL_ENSURE( pPortion, "Blind Portion in ImpDeleteSelection(4)" );
pPortion->MarkSelectionInvalid( 0 );
- // Join together....
+ // Join together...
aStartPaM = ImpConnectParagraphs( aStartPaM.GetNode(), aEndPaM.GetNode() );
}
else
@@ -4214,7 +4214,7 @@ tools::Rectangle ImpEditEngine::GetEditCursor( ParaPortion* pPortion, sal_Int32
GetCursorFlags::EndOfLine: If after the last character of a wrapped line, remaining
at the end of the line, not the beginning of the next one.
Purpose: - END => really after the last character
- - Selection....
+ - Selection...
*/
long nY = pPortion->GetFirstLineOffset();
diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx
index 367eb250f0a3..836ae9557e6f 100644
--- a/editeng/source/editeng/impedit4.cxx
+++ b/editeng/source/editeng/impedit4.cxx
@@ -2352,7 +2352,7 @@ void ImpEditEngine::DoOnlineSpelling( ContentNode* pThisNodeOnly, bool bSpellAtC
aClipRect.Intersection( pView->GetVisArea() );
if ( !aClipRect.IsEmpty() )
{
- // convert to window coordinates ....
+ // convert to window coordinates...
aClipRect.SetPos( pView->pImpEditView->GetWindowPos( aClipRect.TopLeft() ) );
pView->pImpEditView->InvalidateAtWindow(aClipRect);
}
@@ -2365,7 +2365,7 @@ void ImpEditEngine::DoOnlineSpelling( ContentNode* pThisNodeOnly, bool bSpellAtC
aInvalidRect = tools::Rectangle();
}
}
- // After two corrected nodes give up the control ...
+ // After two corrected nodes give up the control...
nInvalids++;
if ( bInterruptible && ( nInvalids >= 2 ) )
{
diff --git a/editeng/source/editeng/impedit5.cxx b/editeng/source/editeng/impedit5.cxx
index df65322c3b4d..dfb3395cd848 100644
--- a/editeng/source/editeng/impedit5.cxx
+++ b/editeng/source/editeng/impedit5.cxx
@@ -326,12 +326,12 @@ SfxItemSet ImpEditEngine::GetAttribs( EditSelection aSel, EditEngineAttribs nOnl
const sal_Int32 nStartPos = nNode==nStartNode ? aSel.Min().GetIndex() : 0;
const sal_Int32 nEndPos = nNode==nEndNode ? aSel.Max().GetIndex() : pNode->Len(); // Can also be == nStart!
- // Problem: Templates ....
+ // Problem: Templates...
// => Other way:
- // 1) Hard character attributes, as usual ...
- // 2) Examine Style and paragraph attributes only when OFF ...
+ // 1) Hard character attributes, as usual...
+ // 2) Examine Style and paragraph attributes only when OFF...
- // First the very hard formatting ...
+ // First the very hard formatting...
EditDoc::FindAttribs( pNode, nStartPos, nEndPos, aCurSet );
if( nOnlyHardAttrib != EditEngineAttribs::OnlyHard )