summaryrefslogtreecommitdiff
path: root/svtools/source/edit
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/edit')
-rw-r--r--svtools/source/edit/texteng.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/svtools/source/edit/texteng.cxx b/svtools/source/edit/texteng.cxx
index 7ac0b16b66d7..1e9a6b996bc4 100644
--- a/svtools/source/edit/texteng.cxx
+++ b/svtools/source/edit/texteng.cxx
@@ -2390,7 +2390,6 @@ BOOL TextEngine::CreateLines( ULONG nPara )
while ( nIndex < pNode->GetText().Len() )
{
BOOL bEOL = FALSE;
- BOOL bEOC = FALSE;
USHORT nPortionStart = 0;
USHORT nPortionEnd = 0;
@@ -2455,7 +2454,6 @@ BOOL TextEngine::CreateLines( ULONG nPara )
nPortionStart = nTmpPos;
nTmpPortion--;
bEOL = FALSE;
- bEOC = FALSE;
nTmpWidth -= pPortion->GetWidth();
if ( pPortion->GetKind() == PORTIONKIND_TAB )
@@ -2467,7 +2465,6 @@ BOOL TextEngine::CreateLines( ULONG nPara )
else
{
bEOL = TRUE;
- bEOC = TRUE;
pLine->SetEnd( nPortionEnd );
DBG_ASSERT( pTEParaPortion->GetTextPortions().Count(), "Keine TextPortions?" );
pLine->SetEndPortion( (USHORT)pTEParaPortion->GetTextPortions().Count() - 1 );
@@ -2482,7 +2479,6 @@ BOOL TextEngine::CreateLines( ULONG nPara )
{
pLine->SetEnd( nPortionStart+1 );
pLine->SetEndPortion( nTmpPortion-1 );
- bEOC = FALSE; // wurde oben gesetzt, vielleich mal die if's umstellen?
}
else if ( !bEOL )
{