summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorPhilipp Riemer <ruderphilipp@gmail.com>2014-07-13 14:32:09 +0200
committerPhilipp Riemer <ruderphilipp@gmail.com>2014-07-13 17:55:08 +0200
commit92d82e0f4be53023e74f556aa3caf5c61427bc97 (patch)
treee4492ec3148aa9b890cfdfcacd3ee65bc6670dc6 /sw
parent6fe539ceeeb38d44c880ba09287820e69e2c4d34 (diff)
normalize comments
Change-Id: I13986c75d28d01f6afa193ea963b23f8dba703e8
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/docredln.cxx46
-rw-r--r--sw/source/core/unocore/unochart.cxx2
-rw-r--r--sw/source/core/unocore/unocoll.cxx4
-rw-r--r--sw/source/core/unocore/unostyle.cxx2
4 files changed, 27 insertions, 27 deletions
diff --git a/sw/source/core/doc/docredln.cxx b/sw/source/core/doc/docredln.cxx
index d3fae50bb22d..c5d118630ac5 100644
--- a/sw/source/core/doc/docredln.cxx
+++ b/sw/source/core/doc/docredln.cxx
@@ -190,7 +190,7 @@ void SwDoc::SetRedlineMode( RedlineMode_t eMode )
SetModified();
}
- // To-Do - add 'SwExtraRedlineTbl' also ?
+ // #TODO - add 'SwExtraRedlineTbl' also ?
}
bool SwDoc::IsRedlineOn() const
@@ -1295,7 +1295,7 @@ void SwDoc::CompressRedlines()
}
_CHECK_REDLINE( this )
- // To-Do - add 'SwExtraRedlineTbl' also ?
+ // #TODO - add 'SwExtraRedlineTbl' also ?
}
bool SwDoc::SplitRedline( const SwPaM& rRange )
@@ -1359,7 +1359,7 @@ bool SwDoc::SplitRedline( const SwPaM& rRange )
}
return bChg;
- // To-Do - add 'SwExtraRedlineTbl' also ?
+ // #TODO - add 'SwExtraRedlineTbl' also ?
}
bool SwDoc::DeleteRedline( const SwPaM& rRange, bool bSaveInUndo,
@@ -1476,7 +1476,7 @@ bool SwDoc::DeleteRedline( const SwPaM& rRange, bool bSaveInUndo,
return bChg;
- // To-Do - add 'SwExtraRedlineTbl' also ?
+ // #TODO - add 'SwExtraRedlineTbl' also ?
}
bool SwDoc::DeleteRedline( const SwStartNode& rNode, bool bSaveInUndo,
@@ -1505,7 +1505,7 @@ sal_uInt16 SwDoc::GetRedlinePos( const SwNode& rNd, sal_uInt16 nType ) const
}
return USHRT_MAX;
- // To-Do - add 'SwExtraRedlineTbl' also ?
+ // #TODO - add 'SwExtraRedlineTbl' also ?
}
bool SwExtraRedlineTbl::DeleteAllTableRedlines( SwDoc* pDoc, const SwTable& rTable, bool bSaveInUndo, sal_uInt16 nRedlineTypeToDelete )
@@ -1517,7 +1517,7 @@ bool SwExtraRedlineTbl::DeleteAllTableRedlines( SwDoc* pDoc, const SwTable& rTab
if (bSaveInUndo && pDoc->GetIDocumentUndoRedo().DoesUndo())
{
- // To-Do - Add 'Undo' support for deleting 'Table Cell' redlines
+ // #TODO - Add 'Undo' support for deleting 'Table Cell' redlines
/*
SwUndoRedline* pUndo = new SwUndoRedline( UNDO_REDLINE, rRange );
if( pUndo->GetRedlSaveCount() )
@@ -1591,7 +1591,7 @@ bool SwExtraRedlineTbl::DeleteTableRowRedline( SwDoc* pDoc, const SwTableLine& r
if (bSaveInUndo && pDoc->GetIDocumentUndoRedo().DoesUndo())
{
- // To-Do - Add 'Undo' support for deleting 'Table Cell' redlines
+ // #TODO - Add 'Undo' support for deleting 'Table Cell' redlines
/*
SwUndoRedline* pUndo = new SwUndoRedline( UNDO_REDLINE, rRange );
if( pUndo->GetRedlSaveCount() )
@@ -1638,7 +1638,7 @@ bool SwExtraRedlineTbl::DeleteTableCellRedline( SwDoc* pDoc, const SwTableBox& r
if (bSaveInUndo && pDoc->GetIDocumentUndoRedo().DoesUndo())
{
- // To-Do - Add 'Undo' support for deleting 'Table Cell' redlines
+ // #TODO - Add 'Undo' support for deleting 'Table Cell' redlines
/*
SwUndoRedline* pUndo = new SwUndoRedline( UNDO_REDLINE, rRange );
if( pUndo->GetRedlSaveCount() )
@@ -1743,7 +1743,7 @@ const SwRangeRedline* SwDoc::GetRedline( const SwPosition& rPos,
*pFndPos = nU;
return 0;
- // To-Do - add 'SwExtraRedlineTbl' also ?
+ // #TODO - add 'SwExtraRedlineTbl' also ?
}
typedef bool (*Fn_AcceptReject)( SwRedlineTbl& rArr, sal_uInt16& rPos,
@@ -2260,7 +2260,7 @@ bool SwDoc::AcceptRedline( sal_uInt16 nPos, bool bCallDelete )
}
return bRet;
- // To-Do - add 'SwExtraRedlineTbl' also ?
+ // #TODO - add 'SwExtraRedlineTbl' also ?
}
bool SwDoc::AcceptRedline( const SwPaM& rPam, bool bCallDelete )
@@ -2306,7 +2306,7 @@ bool SwDoc::AcceptRedline( const SwPaM& rPam, bool bCallDelete )
}
return nRet != 0;
- // To-Do - add 'SwExtraRedlineTbl' also ?
+ // #TODO - add 'SwExtraRedlineTbl' also ?
}
bool SwDoc::RejectRedline( sal_uInt16 nPos, bool bCallDelete )
@@ -2374,7 +2374,7 @@ bool SwDoc::RejectRedline( sal_uInt16 nPos, bool bCallDelete )
}
return bRet;
- // To-Do - add 'SwExtraRedlineTbl' also ?
+ // #TODO - add 'SwExtraRedlineTbl' also ?
}
bool SwDoc::RejectRedline( const SwPaM& rPam, bool bCallDelete )
@@ -2421,7 +2421,7 @@ bool SwDoc::RejectRedline( const SwPaM& rPam, bool bCallDelete )
return nRet != 0;
- // To-Do - add 'SwExtraRedlineTbl' also ?
+ // #TODO - add 'SwExtraRedlineTbl' also ?
}
const SwRangeRedline* SwDoc::SelNextRedline( SwPaM& rPam ) const
@@ -2540,7 +2540,7 @@ const SwRangeRedline* SwDoc::SelNextRedline( SwPaM& rPam ) const
return pFnd;
- // To-Do - add 'SwExtraRedlineTbl' also ?
+ // #TODO - add 'SwExtraRedlineTbl' also ?
}
const SwRangeRedline* SwDoc::SelPrevRedline( SwPaM& rPam ) const
@@ -2661,7 +2661,7 @@ const SwRangeRedline* SwDoc::SelPrevRedline( SwPaM& rPam ) const
return pFnd;
- // To-Do - add 'SwExtraRedlineTbl' also ?
+ // #TODO - add 'SwExtraRedlineTbl' also ?
}
// Set comment at the Redline
@@ -2691,7 +2691,7 @@ bool SwDoc::SetRedlineComment( const SwPaM& rPaM, const OUString& rS )
return bRet;
- // To-Do - add 'SwExtraRedlineTbl' also ?
+ // #TODO - add 'SwExtraRedlineTbl' also ?
}
// Create a new author if necessary
@@ -2716,7 +2716,7 @@ void SwDoc::UpdateRedlineAttr()
pRedl->InvalidateRange();
}
- // To-Do - add 'SwExtraRedlineTbl' also ?
+ // #TODO - add 'SwExtraRedlineTbl' also ?
}
/// Set comment text for the Redline, which is inserted later on via
@@ -4145,7 +4145,7 @@ bool SwDoc::AppendTableRowRedline( SwTableRowRedline* pNewRedl, bool bCallDelete
{
(void)bCallDelete;
- // TO-DO - equivelant for 'SwTableRowRedline'
+ // #TODO - equivelant for 'SwTableRowRedline'
bool bMerged = false;
/*
_CHECK_REDLINE( this )
@@ -4153,7 +4153,7 @@ bool SwDoc::AppendTableRowRedline( SwTableRowRedline* pNewRedl, bool bCallDelete
if (IsRedlineOn() && !IsShowOriginal(meRedlineMode))
{
- // TO-DO - equivelant for 'SwTableRowRedline'
+ // #TODO - equivelant for 'SwTableRowRedline'
/*
pNewRedl->InvalidateRange();
*/
@@ -4178,7 +4178,7 @@ bool SwDoc::AppendTableRowRedline( SwTableRowRedline* pNewRedl, bool bCallDelete
delete pNewRedl, pNewRedl = 0;
*/
}
- // TO-DO - equivelant for 'SwTableRowRedline'
+ // #TODO - equivelant for 'SwTableRowRedline'
/*
_CHECK_REDLINE( this )
*/
@@ -4200,7 +4200,7 @@ bool SwDoc::AppendTableCellRedline( SwTableCellRedline* pNewRedl, bool bCallDele
{
(void)bCallDelete;
- // TO-DO - equivelant for 'SwTableCellRedline'
+ // #TODO - equivelant for 'SwTableCellRedline'
bool bMerged = false;
/*
_CHECK_REDLINE( this )
@@ -4208,7 +4208,7 @@ bool SwDoc::AppendTableCellRedline( SwTableCellRedline* pNewRedl, bool bCallDele
if (IsRedlineOn() && !IsShowOriginal(meRedlineMode))
{
- // TO-DO - equivelant for 'SwTableCellRedline'
+ // #TODO - equivelant for 'SwTableCellRedline'
/*
pNewRedl->InvalidateRange();
*/
@@ -4233,7 +4233,7 @@ bool SwDoc::AppendTableCellRedline( SwTableCellRedline* pNewRedl, bool bCallDele
delete pNewRedl, pNewRedl = 0;
*/
}
- // TO-DO - equivelant for 'SwTableCellRedline'
+ // #TODO - equivelant for 'SwTableCellRedline'
/*
_CHECK_REDLINE( this )
*/
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx
index 558582cead9a..17e41732dd48 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -2574,7 +2574,7 @@ bool SwChartDataSequence::DeleteBox( const SwTableBox &rBox )
if (pMarkStartNode == rBox.GetSttNd() && !pTblCrsr->HasMark())
pTblCrsr->SetMark();
- // set cursor to new position...
+ // set cursor to new position
SwPosition *pPos = (pPointStartNode == rBox.GetSttNd()) ?
pTblCrsr->GetPoint() : pTblCrsr->GetMark();
if (pPos)
diff --git a/sw/source/core/unocore/unocoll.cxx b/sw/source/core/unocore/unocoll.cxx
index 7bba79726187..942a6388c086 100644
--- a/sw/source/core/unocore/unocoll.cxx
+++ b/sw/source/core/unocore/unocoll.cxx
@@ -99,7 +99,7 @@ public:
OUString SAL_CALL getCodeNameForContainer( const uno::Reference< uno::XInterface >& /*xIf*/ ) throw( uno::RuntimeException, std::exception ) SAL_OVERRIDE
{
- // not implemented...
+ // #FIXME not implemented...
return OUString();
}
@@ -167,7 +167,7 @@ public:
{
}
}
- // Probably should throw here ( if !bMatched )
+ // #TODO Probably should throw here ( if !bMatched )
return sCodeName;
}
};
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
index 9013b126b3b5..b7b7d93c9247 100644
--- a/sw/source/core/unocore/unostyle.cxx
+++ b/sw/source/core/unocore/unostyle.cxx
@@ -3071,7 +3071,7 @@ void SAL_CALL SwXStyle::setAllPropertiesToDefault( )
{
pBasePool->SetSearchMask(eFamily);
SfxStyleSheetBase* pBase = pBasePool->Find(m_sStyleName);
- OSL_ENSURE(pBase, "where is the style, you fiend!?");
+ OSL_ENSURE(pBase, "Where is the style?");
if(pBase)
{