diff options
Diffstat (limited to 'sw/source/core/edit/autofmt.cxx')
-rw-r--r-- | sw/source/core/edit/autofmt.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/edit/autofmt.cxx b/sw/source/core/edit/autofmt.cxx index 5c3d8cd059cd..e9b76a72f63c 100644 --- a/sw/source/core/edit/autofmt.cxx +++ b/sw/source/core/edit/autofmt.cxx @@ -306,14 +306,14 @@ OUString SwAutoFormat::GoNextPara() if( aNdIdx.GetIndex() >= aEndNdIdx.GetIndex() ) { bEnde = true; - return aEmptyStr; + return aEmptyOUStr; } aNdIdx++; if( aNdIdx.GetIndex() >= aEndNdIdx.GetIndex() ) { bEnde = true; - return aEmptyStr; + return aEmptyOUStr; } else pNewNd = &aNdIdx.GetNode(); @@ -325,7 +325,7 @@ OUString SwAutoFormat::GoNextPara() if( pNewNd->IsEndNode() ) { bEnde = true; - return aEmptyStr; + return aEmptyOUStr; } else if( pNewNd->IsTableNode() ) aNdIdx = *pNewNd->EndOfSectionNode(); @@ -1776,7 +1776,7 @@ void SwAutoFormat::BuildHeadLine( sal_uInt16 nLvl ) DelPrevPara(); DeleteCurrentParagraph( true, false ); - DeleteCurNxtPara( aEmptyStr ); + DeleteCurNxtPara( aEmptyOUStr ); aDelPam.DeleteMark(); aDelPam.GetPoint()->nNode = aNdIdx.GetIndex() + 1; |