summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authordennisroczek <dennisroczek@libreoffice.org>2017-03-13 23:30:45 +0000
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-19 05:43:51 +0000
commit7e24cedb9eaf68c2b95296bf6352f94e2a60532e (patch)
tree68d8e9540388fd02faa6312cd38a72e5b1736c31 /sw
parentde084e09cfbf646703c80fd84cebb5978e1ca940 (diff)
fix typo/grammar: "the the" --> the
* also removing pointless ASCII art (tdf#62475) * truncate ending whitespace in Doxyfile Change-Id: I59b012f41ac0d170216229da85a49aa41689dee5 Reviewed-on: https://gerrit.libreoffice.org/35151 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/inc/environmentofanchoredobject.hxx4
-rw-r--r--sw/source/core/unocore/unoportenum.cxx16
-rw-r--r--sw/source/filter/xml/xmltbli.cxx2
3 files changed, 11 insertions, 11 deletions
diff --git a/sw/source/core/inc/environmentofanchoredobject.hxx b/sw/source/core/inc/environmentofanchoredobject.hxx
index 10cc50058a00..aa3d5a2a5be5 100644
--- a/sw/source/core/inc/environmentofanchoredobject.hxx
+++ b/sw/source/core/inc/environmentofanchoredobject.hxx
@@ -62,7 +62,7 @@ namespace objectpositioning
starting point for the search of the layout frame.
@return reference to the layout frame, which determines the
- the horizontal environment the object has to be positioned in.
+ horizontal environment the object has to be positioned in.
*/
const SwLayoutFrame& GetHoriEnvironmentLayoutFrame( const SwFrame& _rHoriOrientFrame ) const;
@@ -87,7 +87,7 @@ namespace objectpositioning
starting point for the search of the layout frame.
@return reference to the layout frame, which determines the
- the vertical environment the object has to be positioned in.
+ vertical environment the object has to be positioned in.
*/
const SwLayoutFrame& GetVertEnvironmentLayoutFrame( const SwFrame& _rVertOrientFrame ) const;
};
diff --git a/sw/source/core/unocore/unoportenum.cxx b/sw/source/core/unocore/unoportenum.cxx
index c86f98263060..0f1090fdfef2 100644
--- a/sw/source/core/unocore/unoportenum.cxx
+++ b/sw/source/core/unocore/unoportenum.cxx
@@ -120,10 +120,10 @@ namespace
// ? ( r1->nBkmType < r2->nBkmType )
// : ( r1->nIndex < r2->nIndex );
- // MTG: 25/11/05: Note that the above code does not correctly handle
+ // Note that the above code does not correctly handle
// the case when one bookmark ends, and another begins in the same
// position. When this occurs, the above code will return the
- // the start of the 2nd bookmark BEFORE the end of the first bookmark
+ // start of the 2nd bookmark BEFORE the end of the first bookmark
// See bug #i58438# for more details. The below code is correct and
// fixes both #i58438 and #i16896#
return r1->aPosition < r2->aPosition;
@@ -429,7 +429,7 @@ lcl_ExportFieldMark(
{
uno::Reference<text::XTextRange> xRef;
SwDoc* pDoc = pUnoCursor->GetDoc();
- //flr: maybe it's a good idea to add a special hint to the hints array and rely on the hint segmentation....
+ // maybe it's a good idea to add a special hint to the hints array and rely on the hint segmentation....
const sal_Int32 start = pUnoCursor->Start()->nContent.GetIndex();
OSL_ENSURE(pUnoCursor->End()->nContent.GetIndex() == start,
"hmm --- why is this different");
@@ -877,7 +877,7 @@ lcl_ExportHints(
{
pUnoCursor->Right(1);
if( *pUnoCursor->GetMark() == *pUnoCursor->GetPoint() )
- break; // Robust #i81708 content in covered cells
+ break; // Robust #i81708# content in covered cells
// Do not expose inline anchored textboxes.
if (SwTextBoxHelper::isTextBox(pAttr->GetFlyCnt().GetFrameFormat(), RES_FLYFRMFMT))
@@ -1091,24 +1091,24 @@ static void lcl_ExportRedline(
const sal_Int32 nIndex)
{
- // MTG: 23/11/05: We want this loop to iterate over all red lines in this
+ // We want this loop to iterate over all red lines in this
// array. We will only insert the ones with index matches
for ( SwXRedlinePortion_ImplList::iterator aIter = rRedlineArr.begin(), aEnd = rRedlineArr.end();
aIter != aEnd; )
{
SwXRedlinePortion_ImplSharedPtr pPtr = (*aIter );
sal_Int32 nRealIndex = pPtr->getRealIndex();
- // MTG: 23/11/05: If there are elements before nIndex, remove them
+ // If there are elements before nIndex, remove them
if ( nIndex > nRealIndex )
aIter = rRedlineArr.erase(aIter);
- // MTG: 23/11/05: If the elements match, and them to the list
+ // If the elements match, and them to the list
else if ( nIndex == nRealIndex )
{
rPortions.push_back( new SwXRedlinePortion(
*pPtr->m_pRedline, pUnoCursor, xParent, pPtr->m_bStart));
aIter = rRedlineArr.erase(aIter);
}
- // MTG: 23/11/05: If we've iterated past nIndex, exit the loop
+ // If we've iterated past nIndex, exit the loop
else
break;
}
diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx
index 5225122370cb..55e8fdc93ad9 100644
--- a/sw/source/filter/xml/xmltbli.cxx
+++ b/sw/source/filter/xml/xmltbli.cxx
@@ -2409,7 +2409,7 @@ void SwXMLTableContext::MakeTable_( SwTableBox *pBox )
if( !m_nWidth )
{
// This happens only for percentage values for the table itself.
- // In this case, the columns get the correct width even if the
+ // In this case, the columns get the correct width even if
// the sum of the relative withs is smaller than the available
// width in TWIP. Therefore, we can use the relative width.
m_nWidth = nRelWidth > USHRT_MAX ? USHRT_MAX : nRelWidth;