diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-12-10 12:11:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-12-14 19:19:00 +0100 |
commit | 38c008de39ef004a7f9089baba96bc408de67bae (patch) | |
tree | 43f37c4c36d8b1bf6786827ce112816f91bdf6fd /svx | |
parent | c2f67e6ed60554de8b02b499fb93a60e703d533a (diff) |
Stream::Tell returns sal_uInt64
Change-Id: I02e49d4f59c17a9868c4111ac91b5dd2715e689c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126630
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/gallery2/gallerybinaryengine.cxx | 2 | ||||
-rw-r--r-- | svx/source/table/tablertfexporter.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/gallery2/gallerybinaryengine.cxx b/svx/source/gallery2/gallerybinaryengine.cxx index c2216b2766f5..c86ffa6f5b69 100644 --- a/svx/source/gallery2/gallerybinaryengine.cxx +++ b/svx/source/gallery2/gallerybinaryengine.cxx @@ -772,7 +772,7 @@ SvStream& GalleryBinaryEngine::writeGalleryTheme(SvStream& rOStm, const GalleryT rOStm.WriteUInt32(COMPAT_FORMAT('G', 'A', 'L', 'R')) .WriteUInt32(COMPAT_FORMAT('E', 'S', 'R', 'V')); - const tools::Long nReservePos = rOStm.Tell(); + const sal_uInt64 nReservePos = rOStm.Tell(); std::unique_ptr<VersionCompatWrite> pCompat(new VersionCompatWrite(rOStm, 2)); rOStm.WriteUInt32(rId).WriteBool(pThm->IsNameFromResource()); // From version 2 and up diff --git a/svx/source/table/tablertfexporter.cxx b/svx/source/table/tablertfexporter.cxx index d29cdc958cc7..a67e623611e3 100644 --- a/svx/source/table/tablertfexporter.cxx +++ b/svx/source/table/tablertfexporter.cxx @@ -143,7 +143,7 @@ void SdrTableRtfExporter::WriteRow( const Reference< XPropertySet >& xRowSet, sa } mrStrm.WriteCharPtr( OOO_STRING_SVTOOLS_RTF_PARD ).WriteCharPtr( OOO_STRING_SVTOOLS_RTF_PLAIN ).WriteCharPtr( OOO_STRING_SVTOOLS_RTF_INTBL ).WriteCharPtr( SAL_NEWLINE_STRING ); - sal_uLong nStrmPos = mrStrm.Tell(); + sal_uInt64 nStrmPos = mrStrm.Tell(); for( sal_Int32 nCol = 0; nCol < nColCount; nCol++ ) { WriteCell( nCol, nRow ); |