summaryrefslogtreecommitdiff
path: root/sfx2/source/bastyp/mieclip.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/bastyp/mieclip.cxx')
-rw-r--r--sfx2/source/bastyp/mieclip.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sfx2/source/bastyp/mieclip.cxx b/sfx2/source/bastyp/mieclip.cxx
index 4154ddc6301b..0b5315eab809 100644
--- a/sfx2/source/bastyp/mieclip.cxx
+++ b/sfx2/source/bastyp/mieclip.cxx
@@ -43,13 +43,13 @@ MSE40HTMLClipFormatObj::~MSE40HTMLClipFormatObj()
SvStream* MSE40HTMLClipFormatObj::IsValid( SvStream& rStream )
{
- BOOL bRet = FALSE;
+ sal_Bool bRet = sal_False;
if( pStrm )
delete pStrm, pStrm = 0;
ByteString sLine, sVersion;
- ULONG nStt = 0, nEnd = 0;
- USHORT nIndex = 0;
+ sal_uIntPtr nStt = 0, nEnd = 0;
+ sal_uInt16 nIndex = 0;
rStream.Seek(STREAM_SEEK_TO_BEGIN);
rStream.ResetError();
@@ -63,16 +63,16 @@ SvStream* MSE40HTMLClipFormatObj::IsValid( SvStream& rStream )
nIndex = 0;
ByteString sTmp( sLine.GetToken( 0, ':', nIndex ) );
if( sTmp == "StartHTML" )
- nStt = (ULONG)(sLine.Erase( 0, nIndex ).ToInt32());
+ nStt = (sal_uIntPtr)(sLine.Erase( 0, nIndex ).ToInt32());
else if( sTmp == "EndHTML" )
- nEnd = (ULONG)(sLine.Erase( 0, nIndex ).ToInt32());
+ nEnd = (sal_uIntPtr)(sLine.Erase( 0, nIndex ).ToInt32());
else if( sTmp == "SourceURL" )
sBaseURL = String(S2U(sLine.Erase( 0, nIndex )));
if( nEnd && nStt &&
( sBaseURL.Len() || rStream.Tell() >= nStt ))
{
- bRet = TRUE;
+ bRet = sal_True;
break;
}
}