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,
pDoc->Overwrite( *pPam, rTxt );
}
// pDoc->SetRedlineMode_intern( eOld );
if( bUndoIdInitialized )
{
bUndoIdInitialized = true;
......
......@@ -2311,7 +2311,7 @@ SwAutoFormat::SwAutoFormat( SwEditShell* pEdShell, SvxSwAutoFmtFlags& rFlags,
}
else
{
bNxtEmpty = false; // true;
bNxtEmpty = false;
bNxtAlpha = sal_False;
nNxtLevel = 0;
}
......
......@@ -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();
......
......@@ -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:
......
......@@ -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();
......
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