summaryrefslogtreecommitdiff
path: root/editeng/source/items
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/items')
-rw-r--r--editeng/source/items/bulitem.cxx6
-rw-r--r--editeng/source/items/frmitems.cxx2
-rw-r--r--editeng/source/items/textitem.cxx2
3 files changed, 5 insertions, 5 deletions
diff --git a/editeng/source/items/bulitem.cxx b/editeng/source/items/bulitem.cxx
index e2a68daaf513..5e2b91911357 100644
--- a/editeng/source/items/bulitem.cxx
+++ b/editeng/source/items/bulitem.cxx
@@ -116,7 +116,7 @@ SvxBulletItem::SvxBulletItem( SvStream& rStrm, sal_uInt16 _nWhich )
{
// Safe Load with Test on empty Bitmap
Bitmap aBmp;
- const sal_Size nOldPos = rStrm.Tell();
+ sal_uInt64 const nOldPos = rStrm.Tell();
// Ignore Errorcode when reading Bitmap,
// see comment in SvxBulletItem::Store()
bool bOldError = rStrm.GetError() != 0;
@@ -288,7 +288,7 @@ SvStream& SvxBulletItem::Store( SvStream& rStrm, sal_uInt16 /*nItemVersion*/ ) c
StoreFont( rStrm, aFont );
else
{
- sal_Size _nStart = rStrm.Tell();
+ sal_uInt64 const _nStart = rStrm.Tell();
// Small preliminary estimate of the size ...
sal_uInt16 nFac = ( rStrm.GetCompressMode() != SvStreamCompressFlags::NONE ) ? 3 : 1;
@@ -299,7 +299,7 @@ SvStream& SvxBulletItem::Store( SvStream& rStrm, sal_uInt16 /*nItemVersion*/ ) c
WriteDIB(aBmp, rStrm, false, true);
}
- sal_Size nEnd = rStrm.Tell();
+ sal_uInt64 const nEnd = rStrm.Tell();
// Item can not write with an overhead more than 64K or SfxMultiRecord
// will crash. Then prefer to forego on the bitmap, it is only
// important for the outliner and only for <= 5.0.
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx
index 6af4e4918d17..ed7906d57bf5 100644
--- a/editeng/source/items/frmitems.cxx
+++ b/editeng/source/items/frmitems.cxx
@@ -745,7 +745,7 @@ SfxPoolItem* SvxLRSpaceItem::Create( SvStream& rStrm, sal_uInt16 nVersion ) cons
{
rStrm.ReadUInt16( left ).ReadUInt16( prpleft ).ReadUInt16( right ).ReadUInt16( prpright ).ReadInt16( firstline ). ReadUInt16( prpfirstline ).ReadUInt16( txtleft ).ReadSChar( autofirst );
- sal_Size nPos = rStrm.Tell();
+ sal_uInt64 const nPos = rStrm.Tell();
sal_uInt32 nMarker;
rStrm.ReadUInt32( nMarker );
if ( nMarker == BULLETLR_MARKER )
diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx
index ae857c8706db..9c1c339e323a 100644
--- a/editeng/source/items/textitem.cxx
+++ b/editeng/source/items/textitem.cxx
@@ -400,7 +400,7 @@ SfxPoolItem* SvxFontItem::Create(SvStream& rStrm, sal_uInt16) const
eFontTextEncoding = RTL_TEXTENCODING_SYMBOL;
// Check if we have stored unicode
- sal_Size nStreamPos = rStrm.Tell();
+ sal_uInt64 const nStreamPos = rStrm.Tell();
sal_uInt32 nMagic = STORE_UNICODE_MAGIC_MARKER;
rStrm.ReadUInt32( nMagic );
if ( nMagic == STORE_UNICODE_MAGIC_MARKER )