Kaydet (Commit) 379bacf8 authored tarafından Philipp Riemer's avatar Philipp Riemer

removed commented out code in sw/source/core/edit

Change-Id: I44951e08b196106a5352a8e9b86e695e6a8961b9
üst b3e67062
...@@ -210,7 +210,6 @@ sal_Bool SwAutoCorrDoc::ReplaceRange( xub_StrLen nPos, xub_StrLen nSourceLength, ...@@ -210,7 +210,6 @@ sal_Bool SwAutoCorrDoc::ReplaceRange( xub_StrLen nPos, xub_StrLen nSourceLength,
pDoc->Overwrite( *pPam, rTxt ); pDoc->Overwrite( *pPam, rTxt );
} }
// pDoc->SetRedlineMode_intern( eOld );
if( bUndoIdInitialized ) if( bUndoIdInitialized )
{ {
bUndoIdInitialized = true; bUndoIdInitialized = true;
......
...@@ -2311,7 +2311,7 @@ SwAutoFormat::SwAutoFormat( SwEditShell* pEdShell, SvxSwAutoFmtFlags& rFlags, ...@@ -2311,7 +2311,7 @@ SwAutoFormat::SwAutoFormat( SwEditShell* pEdShell, SvxSwAutoFmtFlags& rFlags,
} }
else else
{ {
bNxtEmpty = false; // true; bNxtEmpty = false;
bNxtAlpha = sal_False; bNxtAlpha = sal_False;
nNxtLevel = 0; nNxtLevel = 0;
} }
......
...@@ -1008,8 +1008,7 @@ String SwEditShell::DeleteExtTextInput( SwExtTextInput* pDel, sal_Bool bInsText ...@@ -1008,8 +1008,7 @@ String SwEditShell::DeleteExtTextInput( SwExtTextInput* pDel, sal_Bool bInsText
void SwEditShell::SetExtTextInputData( const CommandExtTextInputData& rData ) void SwEditShell::SetExtTextInputData( const CommandExtTextInputData& rData )
{ {
const SwPosition& rPos = *GetCrsr()->GetPoint(); const SwPosition& rPos = *GetCrsr()->GetPoint();
SwExtTextInput* pInput = GetDoc()->GetExtTextInput( rPos.nNode.GetNode() SwExtTextInput* pInput = GetDoc()->GetExtTextInput( rPos.nNode.GetNode() );
/*, rPos.nContent.GetIndex()*/ );
if( pInput ) if( pInput )
{ {
StartAllAction(); StartAllAction();
......
...@@ -955,7 +955,6 @@ bool SwEditShell::GetGrammarCorrection( ...@@ -955,7 +955,6 @@ bool SwEditShell::GetGrammarCorrection(
uno::Reference< linguistic2::XProofreadingIterator > xGCIterator( mpDoc->GetGCIterator() ); uno::Reference< linguistic2::XProofreadingIterator > xGCIterator( mpDoc->GetGCIterator() );
if (xGCIterator.is()) if (xGCIterator.is())
{ {
// LanguageType eActLang = (LanguageType)pNode->GetLang( nBegin, nLen );
uno::Reference< lang::XComponent > xDoc( mpDoc->GetDocShell()->GetBaseModel(), uno::UNO_QUERY ); uno::Reference< lang::XComponent > xDoc( mpDoc->GetDocShell()->GetBaseModel(), uno::UNO_QUERY );
// Expand the string: // Expand the string:
......
...@@ -309,7 +309,6 @@ static const SwNode* lcl_SpecialInsertNode(const SwPosition* pCurrentPos) ...@@ -309,7 +309,6 @@ static const SwNode* lcl_SpecialInsertNode(const SwPosition* pCurrentPos)
const SwNode* pReturn = NULL; const SwNode* pReturn = NULL;
// the current position // the current position
// const SwPosition* pCurrentPos = GetCrsr()->GetPoint();
OSL_ENSURE( pCurrentPos != NULL, "Strange, we have no position!" ); OSL_ENSURE( pCurrentPos != NULL, "Strange, we have no position!" );
const SwNode& rCurrentNode = pCurrentPos->nNode.GetNode(); const SwNode& rCurrentNode = pCurrentPos->nNode.GetNode();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment