From 941f2c866a98ca7caf71a11732853da012cd25e4 Mon Sep 17 00:00:00 2001 From: Noel Date: Tue, 10 Nov 2020 10:14:12 +0200 Subject: convert more long -> tools::Long found by grepping and changed by hand. Change-Id: I3c720859dba430fde3abc76c6c5cb58269efaf4b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105512 Tested-by: Jenkins Reviewed-by: Noel Grandin --- lotuswordpro/source/filter/tocread.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lotuswordpro') diff --git a/lotuswordpro/source/filter/tocread.cxx b/lotuswordpro/source/filter/tocread.cxx index 18a062d1bb1e..dff08e68e3cf 100644 --- a/lotuswordpro/source/filter/tocread.cxx +++ b/lotuswordpro/source/filter/tocread.cxx @@ -72,7 +72,7 @@ CBenTOCReader::ReadLabelAndTOC() { BenError Err; - unsigned long TOCOffset; + tools::ULong TOCOffset; if ((Err = ReadLabel(&TOCOffset, &cTOCSize)) != BenErr_OK) return Err; @@ -97,7 +97,7 @@ CBenTOCReader::ReadLabelAndTOC() } BenError -CBenTOCReader::ReadLabel(unsigned long * pTOCOffset, unsigned long * pTOCSize) +CBenTOCReader::ReadLabel(tools::ULong * pTOCOffset, tools::ULong * pTOCSize) { // If seek fails, then probably because stream is smaller than // BEN_LABEL_SIZE and thus can't be Bento container @@ -503,7 +503,7 @@ CBenTOCReader::GetCode() } BenError -CBenTOCReader::GetData(void * pBuffer, unsigned long Amt) +CBenTOCReader::GetData(void * pBuffer, tools::ULong Amt) { if (! CanGetData(Amt)) return BenErr_ReadPastEndOfTOC; -- cgit