summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xechart.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-09-14 17:01:50 +0200
committerMichael Stahl <mstahl@redhat.com>2016-09-15 12:01:11 +0200
commitb647996a9babbee7b33cf45192e57df6a124628b (patch)
treeddc6dfe8a62ec53fbacc4eeccfeb20019f3ef4f0 /sc/source/filter/excel/xechart.cxx
parenta19a67e20e847a42063559694ec5beec71abcfb3 (diff)
replace sal_Size with std::size_t (or sal_uInt64 for SvStream pos)
... except in include/rtl, include/sal, include/uno, where sal_Size is retained for compatibility, and where callers of rtl functions pass in pointers that are incompatible on MSVC. Change-Id: I8344453780689f5120ba0870e44965b6d292450c
Diffstat (limited to 'sc/source/filter/excel/xechart.cxx')
-rw-r--r--sc/source/filter/excel/xechart.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/excel/xechart.cxx b/sc/source/filter/excel/xechart.cxx
index 4e4c4a9ccb8c..1c03ccec29d6 100644
--- a/sc/source/filter/excel/xechart.cxx
+++ b/sc/source/filter/excel/xechart.cxx
@@ -423,7 +423,7 @@ void XclExpChRoot::FinalizeFutureRecBlock( XclExpStream& rStrm )
}
XclExpChGroupBase::XclExpChGroupBase( const XclExpChRoot& rRoot,
- sal_uInt16 nFrType, sal_uInt16 nRecId, sal_Size nRecSize ) :
+ sal_uInt16 nFrType, sal_uInt16 nRecId, std::size_t nRecSize ) :
XclExpRecord( nRecId, nRecSize ),
XclExpChRoot( rRoot ),
maFrBlock( nFrType )
@@ -467,7 +467,7 @@ void XclExpChGroupBase::SetFutureRecordContext( sal_uInt16 nFrContext, sal_uInt1
}
XclExpChFutureRecordBase::XclExpChFutureRecordBase( const XclExpChRoot& rRoot,
- XclFutureRecType eRecType, sal_uInt16 nRecId, sal_Size nRecSize ) :
+ XclFutureRecType eRecType, sal_uInt16 nRecId, std::size_t nRecSize ) :
XclExpFutureRecord( eRecType, nRecId, nRecSize ),
XclExpChRoot( rRoot )
{
@@ -1061,7 +1061,7 @@ void XclExpChSourceLink::Save( XclExpStream& rStrm )
// CHFORMATRUNS record
if( mxString && mxString->IsRich() )
{
- sal_Size nRecSize = (1 + mxString->GetFormatsCount()) * ((GetBiff() == EXC_BIFF8) ? 2 : 1);
+ std::size_t nRecSize = (1 + mxString->GetFormatsCount()) * ((GetBiff() == EXC_BIFF8) ? 2 : 1);
rStrm.StartRecord( EXC_ID_CHFORMATRUNS, nRecSize );
mxString->WriteFormats( rStrm, true );
rStrm.EndRecord();