diff options
author | Philipp Riemer <ruderphilipp@gmail.com> | 2013-06-09 00:45:46 +0200 |
---|---|---|
committer | Philipp Riemer <ruderphilipp@gmail.com> | 2013-06-09 00:56:41 +0200 |
commit | 379bacf8efc133967f7d5899d3024c2f39f7fb95 (patch) | |
tree | 6109543c8b587115d45c22a3af7bf405f2a2fd18 | |
parent | b3e67062608f11dbf4b92f5e0765bb0f28a6cfe8 (diff) |
removed commented out code in sw/source/core/edit
Change-Id: I44951e08b196106a5352a8e9b86e695e6a8961b9
-rw-r--r-- | sw/source/core/edit/acorrect.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/edit/autofmt.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/edit/editsh.cxx | 3 | ||||
-rw-r--r-- | sw/source/core/edit/edlingu.cxx | 1 | ||||
-rw-r--r-- | sw/source/core/edit/edsect.cxx | 1 |
5 files changed, 2 insertions, 6 deletions
diff --git a/sw/source/core/edit/acorrect.cxx b/sw/source/core/edit/acorrect.cxx index 5530dc83ab29..0b3252e4f6c9 100644 --- a/sw/source/core/edit/acorrect.cxx +++ b/sw/source/core/edit/acorrect.cxx @@ -210,7 +210,6 @@ sal_Bool SwAutoCorrDoc::ReplaceRange( xub_StrLen nPos, xub_StrLen nSourceLength, pDoc->Overwrite( *pPam, rTxt ); } -// pDoc->SetRedlineMode_intern( eOld ); if( bUndoIdInitialized ) { bUndoIdInitialized = true; diff --git a/sw/source/core/edit/autofmt.cxx b/sw/source/core/edit/autofmt.cxx index 9815c1202753..c3c28dfae689 100644 --- a/sw/source/core/edit/autofmt.cxx +++ b/sw/source/core/edit/autofmt.cxx @@ -2311,7 +2311,7 @@ SwAutoFormat::SwAutoFormat( SwEditShell* pEdShell, SvxSwAutoFmtFlags& rFlags, } else { - bNxtEmpty = false; // true; + bNxtEmpty = false; bNxtAlpha = sal_False; nNxtLevel = 0; } diff --git a/sw/source/core/edit/editsh.cxx b/sw/source/core/edit/editsh.cxx index f4521a385ece..8e2dbed8f5fe 100644 --- a/sw/source/core/edit/editsh.cxx +++ b/sw/source/core/edit/editsh.cxx @@ -1008,8 +1008,7 @@ String SwEditShell::DeleteExtTextInput( SwExtTextInput* pDel, sal_Bool bInsText void SwEditShell::SetExtTextInputData( const CommandExtTextInputData& rData ) { const SwPosition& rPos = *GetCrsr()->GetPoint(); - SwExtTextInput* pInput = GetDoc()->GetExtTextInput( rPos.nNode.GetNode() - /*, rPos.nContent.GetIndex()*/ ); + SwExtTextInput* pInput = GetDoc()->GetExtTextInput( rPos.nNode.GetNode() ); if( pInput ) { StartAllAction(); diff --git a/sw/source/core/edit/edlingu.cxx b/sw/source/core/edit/edlingu.cxx index 8cfc4e664726..4702b4ff213c 100644 --- a/sw/source/core/edit/edlingu.cxx +++ b/sw/source/core/edit/edlingu.cxx @@ -955,7 +955,6 @@ bool SwEditShell::GetGrammarCorrection( uno::Reference< linguistic2::XProofreadingIterator > xGCIterator( mpDoc->GetGCIterator() ); if (xGCIterator.is()) { -// LanguageType eActLang = (LanguageType)pNode->GetLang( nBegin, nLen ); uno::Reference< lang::XComponent > xDoc( mpDoc->GetDocShell()->GetBaseModel(), uno::UNO_QUERY ); // Expand the string: diff --git a/sw/source/core/edit/edsect.cxx b/sw/source/core/edit/edsect.cxx index f9b8af0e27e0..abf91f9741f7 100644 --- a/sw/source/core/edit/edsect.cxx +++ b/sw/source/core/edit/edsect.cxx @@ -309,7 +309,6 @@ static const SwNode* lcl_SpecialInsertNode(const SwPosition* pCurrentPos) const SwNode* pReturn = NULL; // the current position - // const SwPosition* pCurrentPos = GetCrsr()->GetPoint(); OSL_ENSURE( pCurrentPos != NULL, "Strange, we have no position!" ); const SwNode& rCurrentNode = pCurrentPos->nNode.GetNode(); |