Kaydet (Commit) 206f0383 authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS javapatch (1.24.324); FILE MERGED

2005/10/14 10:06:11 flr 1.24.324.2: RESYNC: (1.24-1.25); FILE MERGED
2005/08/12 12:10:00 flr 1.24.324.1: #i52542# patch from cmc.
üst f866ed62
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: rtfitem.cxx,v $ * $RCSfile: rtfitem.cxx,v $
* *
* $Revision: 1.25 $ * $Revision: 1.26 $
* *
* last change: $Author: rt $ $Date: 2005-09-09 00:43:46 $ * last change: $Author: rt $ $Date: 2005-11-10 16:37:38 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -1316,7 +1316,8 @@ ATTR_SETEMPHASIS: ...@@ -1316,7 +1316,8 @@ ATTR_SETEMPHASIS:
void SvxRTFParser::ReadTabAttr( int nToken, SfxItemSet& rSet ) void SvxRTFParser::ReadTabAttr( int nToken, SfxItemSet& rSet )
{ {
// dann lese doch mal alle TabStops ein bool bMethodOwnsToken = false; // #i52542# patch from cmc.
// dann lese doch mal alle TabStops ein
SvxTabStop aTabStop; SvxTabStop aTabStop;
SvxTabStopItem aAttr( 0, 0, SVX_TAB_ADJUST_DEFAULT, PARDID->nTabStop ); SvxTabStopItem aAttr( 0, 0, SVX_TAB_ADJUST_DEFAULT, PARDID->nTabStop );
int bWeiter = TRUE; int bWeiter = TRUE;
...@@ -1366,7 +1367,8 @@ void SvxRTFParser::ReadTabAttr( int nToken, SfxItemSet& rSet ) ...@@ -1366,7 +1367,8 @@ void SvxRTFParser::ReadTabAttr( int nToken, SfxItemSet& rSet )
aTabStop.GetDecimal() = BYTE(nTokenValue & 0xff); aTabStop.GetDecimal() = BYTE(nTokenValue & 0xff);
aTabStop.GetFill() = BYTE((nTokenValue >> 8) & 0xff); aTabStop.GetFill() = BYTE((nTokenValue >> 8) & 0xff);
// ueberlese noch die schliessende Klammer // ueberlese noch die schliessende Klammer
GetNextToken(); if (bMethodOwnsToken)
GetNextToken();
} }
if( nSkip ) if( nSkip )
{ {
...@@ -1380,7 +1382,10 @@ void SvxRTFParser::ReadTabAttr( int nToken, SfxItemSet& rSet ) ...@@ -1380,7 +1382,10 @@ void SvxRTFParser::ReadTabAttr( int nToken, SfxItemSet& rSet )
bWeiter = FALSE; bWeiter = FALSE;
} }
if( bWeiter ) if( bWeiter )
{
nToken = GetNextToken(); nToken = GetNextToken();
bMethodOwnsToken = true;
}
} while( bWeiter ); } while( bWeiter );
// mit Defaults aufuellen fehlt noch !!! // mit Defaults aufuellen fehlt noch !!!
......
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