summaryrefslogtreecommitdiff
path: root/sw/source/core/edit
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/edit')
-rw-r--r--sw/source/core/edit/acorrect.cxx2
-rw-r--r--sw/source/core/edit/autofmt.cxx12
-rw-r--r--sw/source/core/edit/edattr.cxx2
3 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/core/edit/acorrect.cxx b/sw/source/core/edit/acorrect.cxx
index 18c1d19b93f4..f0e5e3d33d84 100644
--- a/sw/source/core/edit/acorrect.cxx
+++ b/sw/source/core/edit/acorrect.cxx
@@ -425,7 +425,7 @@ LanguageType SwAutoCorrDoc::GetLanguage( sal_Int32 nPos, bool bPrevPara ) const
: rCrsr.GetPoint()->nNode ).GetNode().GetTextNode();
if( pNd )
- eRet = pNd->GetLang( nPos, 0 );
+ eRet = pNd->GetLang( nPos );
if(LANGUAGE_SYSTEM == eRet)
eRet = GetAppLanguage();
return eRet;
diff --git a/sw/source/core/edit/autofmt.cxx b/sw/source/core/edit/autofmt.cxx
index 85620ba2b889..394e20fbed4a 100644
--- a/sw/source/core/edit/autofmt.cxx
+++ b/sw/source/core/edit/autofmt.cxx
@@ -1267,7 +1267,7 @@ void SwAutoFormat::BuildIndent()
!CalcLevel( *pNxtNd ) );
}
}
- DeleteCurrentParagraph( true );
+ DeleteCurrentParagraph();
AutoCorrect();
}
@@ -1305,7 +1305,7 @@ void SwAutoFormat::BuildTextIndent()
pNxtNd = GetNextNode();
}
}
- DeleteCurrentParagraph( true );
+ DeleteCurrentParagraph();
AutoCorrect();
}
@@ -1342,7 +1342,7 @@ void SwAutoFormat::BuildText()
break;
}
}
- DeleteCurrentParagraph( true );
+ DeleteCurrentParagraph();
AutoCorrect();
}
@@ -1375,7 +1375,7 @@ void SwAutoFormat::BuildEnum( sal_uInt16 nLvl, sal_uInt16 nDigitLevel )
IsBlanksInString( *m_pCurTextNd ) ||
IsSentenceAtEnd( *m_pCurTextNd );
bool bRTL = m_pEditShell->IsInRightToLeftText();
- DeleteCurrentParagraph( true );
+ DeleteCurrentParagraph();
bool bChgBullet = false, bChgEnum = false;
sal_Int32 nAutoCorrPos = 0;
@@ -1740,7 +1740,7 @@ void SwAutoFormat::BuildNegIndent( SwTwips nSpaces )
pNxtNd = GetNextNode();
}
}
- DeleteCurrentParagraph( true );
+ DeleteCurrentParagraph();
AutoCorrect();
}
@@ -1771,7 +1771,7 @@ void SwAutoFormat::BuildHeadLine( sal_uInt16 nLvl )
}
else
{
- DeleteCurrentParagraph( true );
+ DeleteCurrentParagraph();
AutoCorrect();
}
}
diff --git a/sw/source/core/edit/edattr.cxx b/sw/source/core/edit/edattr.cxx
index d62793c27196..b8d64ff7d650 100644
--- a/sw/source/core/edit/edattr.cxx
+++ b/sw/source/core/edit/edattr.cxx
@@ -456,7 +456,7 @@ size_t SwEditShell::GetSeqFootnoteList( SwSeqFieldList& rList, bool bEndNotes )
OUString sText( rFootnote.GetViewNumStr( *mpDoc ));
if( !sText.isEmpty() )
sText += " ";
- sText += pTextNd->GetExpandText( 0, -1 );
+ sText += pTextNd->GetExpandText();
_SeqFieldLstElem* pNew = new _SeqFieldLstElem( sText,
pTextFootnote->GetSeqRefNo() );