Lines 573-579
Link Here
|
573 |
// ------------------------------------------------------------------------ |
573 |
// ------------------------------------------------------------------------ |
574 |
|
574 |
|
575 |
MetaRoundRectAction::MetaRoundRectAction( const Rectangle& rRect, |
575 |
MetaRoundRectAction::MetaRoundRectAction( const Rectangle& rRect, |
576 |
long nHorzRound, long nVertRound ) : |
576 |
sal_uInt32 nHorzRound, sal_uInt32 nVertRound ) : |
577 |
MetaAction ( META_ROUNDRECT_ACTION ), |
577 |
MetaAction ( META_ROUNDRECT_ACTION ), |
578 |
maRect ( rRect ), |
578 |
maRect ( rRect ), |
579 |
mnHorzRound ( nHorzRound ), |
579 |
mnHorzRound ( nHorzRound ), |
Lines 1426-1432
Link Here
|
1426 |
|
1426 |
|
1427 |
void MetaTextArrayAction::Write( SvStream& rOStm, ImplMetaWriteData* pData ) |
1427 |
void MetaTextArrayAction::Write( SvStream& rOStm, ImplMetaWriteData* pData ) |
1428 |
{ |
1428 |
{ |
1429 |
const ULONG nAryLen = mpDXAry ? mnLen : 0; |
1429 |
const sal_uInt32 nAryLen = mpDXAry ? mnLen : 0; |
1430 |
|
1430 |
|
1431 |
WRITE_BASE_COMPAT( rOStm, 2, pData ); |
1431 |
WRITE_BASE_COMPAT( rOStm, 2, pData ); |
1432 |
rOStm << maStartPt; |
1432 |
rOStm << maStartPt; |
Lines 1451-1457
Link Here
|
1451 |
|
1451 |
|
1452 |
void MetaTextArrayAction::Read( SvStream& rIStm, ImplMetaReadData* pData ) |
1452 |
void MetaTextArrayAction::Read( SvStream& rIStm, ImplMetaReadData* pData ) |
1453 |
{ |
1453 |
{ |
1454 |
ULONG nAryLen; |
1454 |
sal_uInt32 nAryLen; |
1455 |
|
1455 |
|
1456 |
delete[] mpDXAry; |
1456 |
delete[] mpDXAry; |
1457 |
|
1457 |
|
Lines 1465-1471
Link Here
|
1465 |
if( nAryLen ) |
1465 |
if( nAryLen ) |
1466 |
{ |
1466 |
{ |
1467 |
// #i9762#, #106172# Ensure that DX array is at least mnLen entries long |
1467 |
// #i9762#, #106172# Ensure that DX array is at least mnLen entries long |
1468 |
const ULONG nIntAryLen( Max(nAryLen, static_cast<ULONG>(mnLen)) ); |
1468 |
const ULONG nIntAryLen( Max(nAryLen, static_cast<sal_uInt32>(mnLen)) ); |
1469 |
mpDXAry = new sal_Int32[ nIntAryLen ]; |
1469 |
mpDXAry = new sal_Int32[ nIntAryLen ]; |
1470 |
|
1470 |
|
1471 |
ULONG i; |
1471 |
ULONG i; |
Lines 1495-1501
Link Here
|
1495 |
|
1495 |
|
1496 |
// ------------------------------------------------------------------------ |
1496 |
// ------------------------------------------------------------------------ |
1497 |
|
1497 |
|
1498 |
MetaStretchTextAction::MetaStretchTextAction( const Point& rPt, ULONG nWidth, |
1498 |
MetaStretchTextAction::MetaStretchTextAction( const Point& rPt, sal_uInt32 nWidth, |
1499 |
const XubString& rStr, |
1499 |
const XubString& rStr, |
1500 |
USHORT nIndex, USHORT nLen ) : |
1500 |
USHORT nIndex, USHORT nLen ) : |
1501 |
MetaAction ( META_STRETCHTEXT_ACTION ), |
1501 |
MetaAction ( META_STRETCHTEXT_ACTION ), |
Lines 1747-1754
Link Here
|
1747 |
|
1747 |
|
1748 |
rOStm << maPos; |
1748 |
rOStm << maPos; |
1749 |
rOStm << mnWidth; |
1749 |
rOStm << mnWidth; |
1750 |
rOStm << (ULONG)meStrikeout; |
1750 |
rOStm << static_cast<sal_uInt32>(meStrikeout); |
1751 |
rOStm << (ULONG)meUnderline; |
1751 |
rOStm << static_cast<sal_uInt32>(meUnderline); |
1752 |
} |
1752 |
} |
1753 |
|
1753 |
|
1754 |
// ------------------------------------------------------------------------ |
1754 |
// ------------------------------------------------------------------------ |
Lines 1757-1763
Link Here
|
1757 |
{ |
1757 |
{ |
1758 |
COMPAT( rIStm ); |
1758 |
COMPAT( rIStm ); |
1759 |
|
1759 |
|
1760 |
ULONG nTemp; |
1760 |
sal_uInt32 nTemp; |
1761 |
rIStm >> maPos; |
1761 |
rIStm >> maPos; |
1762 |
rIStm >> mnWidth; |
1762 |
rIStm >> mnWidth; |
1763 |
rIStm >> nTemp; |
1763 |
rIStm >> nTemp; |
Lines 3886-3892
Link Here
|
3886 |
|
3886 |
|
3887 |
// ======================================================================== |
3887 |
// ======================================================================== |
3888 |
|
3888 |
|
3889 |
MetaCommentAction::MetaCommentAction( long nValue ) : |
3889 |
MetaCommentAction::MetaCommentAction( sal_Int32 nValue ) : |
3890 |
MetaAction ( META_COMMENT_ACTION ), |
3890 |
MetaAction ( META_COMMENT_ACTION ), |
3891 |
mnValue ( nValue ) |
3891 |
mnValue ( nValue ) |
3892 |
{ |
3892 |
{ |
Lines 3905-3911
Link Here
|
3905 |
|
3905 |
|
3906 |
// ------------------------------------------------------------------------ |
3906 |
// ------------------------------------------------------------------------ |
3907 |
|
3907 |
|
3908 |
MetaCommentAction::MetaCommentAction( const ByteString& rComment, long nValue, const BYTE* pData, ULONG nDataSize ) : |
3908 |
MetaCommentAction::MetaCommentAction( const ByteString& rComment, sal_Int32 nValue, const BYTE* pData, sal_uInt32 nDataSize ) : |
3909 |
MetaAction ( META_COMMENT_ACTION ), |
3909 |
MetaAction ( META_COMMENT_ACTION ), |
3910 |
maComment ( rComment ), |
3910 |
maComment ( rComment ), |
3911 |
mnValue ( nValue ) |
3911 |
mnValue ( nValue ) |
Lines 3915-3921
Link Here
|
3915 |
|
3915 |
|
3916 |
// ------------------------------------------------------------------------ |
3916 |
// ------------------------------------------------------------------------ |
3917 |
|
3917 |
|
3918 |
MetaCommentAction::MetaCommentAction( const BYTE* pData, ULONG nDataSize ) : |
3918 |
MetaCommentAction::MetaCommentAction( const BYTE* pData, sal_uInt32 nDataSize ) : |
3919 |
MetaAction ( META_COMMENT_ACTION ), |
3919 |
MetaAction ( META_COMMENT_ACTION ), |
3920 |
mnValue ( 0L ) |
3920 |
mnValue ( 0L ) |
3921 |
{ |
3921 |
{ |
Lines 3932-3938
Link Here
|
3932 |
|
3932 |
|
3933 |
// ------------------------------------------------------------------------ |
3933 |
// ------------------------------------------------------------------------ |
3934 |
|
3934 |
|
3935 |
void MetaCommentAction::ImplInitDynamicData( const BYTE* pData, ULONG nDataSize ) |
3935 |
void MetaCommentAction::ImplInitDynamicData( const BYTE* pData, sal_uInt32 nDataSize ) |
3936 |
{ |
3936 |
{ |
3937 |
if ( nDataSize && pData ) |
3937 |
if ( nDataSize && pData ) |
3938 |
{ |
3938 |
{ |
Lines 4009-4015
Link Here
|
4009 |
|
4009 |
|
4010 |
// ------------------------------------------------------------------------ |
4010 |
// ------------------------------------------------------------------------ |
4011 |
|
4011 |
|
4012 |
MetaLayoutModeAction::MetaLayoutModeAction( ULONG nLayoutMode ) : |
4012 |
MetaLayoutModeAction::MetaLayoutModeAction( sal_uInt32 nLayoutMode ) : |
4013 |
MetaAction ( META_LAYOUTMODE_ACTION ), |
4013 |
MetaAction ( META_LAYOUTMODE_ACTION ), |
4014 |
mnLayoutMode( nLayoutMode ) |
4014 |
mnLayoutMode( nLayoutMode ) |
4015 |
{ |
4015 |
{ |