From d210c6ccc30466e98240c1409df0550514668d68 Mon Sep 17 00:00:00 2001 From: Xiaofei Zhang Date: Thu, 29 Jul 2010 10:56:19 +0800 Subject: #i112600#: clean up l10ntools, rsc, sot, svl, tools and unotools --- svl/source/numbers/numhead.hxx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'svl/source/numbers/numhead.hxx') diff --git a/svl/source/numbers/numhead.hxx b/svl/source/numbers/numhead.hxx index 7df06033e0d7..6ed95c39e3d5 100644 --- a/svl/source/numbers/numhead.hxx +++ b/svl/source/numbers/numhead.hxx @@ -39,24 +39,24 @@ class SvNumReadHeader { private: SvStream& rStream; - ULONG nDataEnd; + sal_uIntPtr nDataEnd; public: SvNumReadHeader(SvStream& rNewStream); ~SvNumReadHeader(); - ULONG BytesLeft() const; + sal_uIntPtr BytesLeft() const; }; class SvNumWriteHeader { private: SvStream& rStream; - ULONG nDataPos; - ULONG nDataSize; + sal_uIntPtr nDataPos; + sal_uIntPtr nDataSize; public: - SvNumWriteHeader(SvStream& rNewStream, ULONG nDefault = 0); + SvNumWriteHeader(SvStream& rNewStream, sal_uIntPtr nDefault = 0); ~SvNumWriteHeader(); }; @@ -70,8 +70,8 @@ private: SvStream& rStream; char* pBuf; SvMemoryStream* pMemStream; - ULONG nEndPos; - ULONG nEntryEnd; + sal_uIntPtr nEndPos; + sal_uIntPtr nEntryEnd; public: ImpSvNumMultipleReadHeader(SvStream& rNewStream); @@ -79,7 +79,7 @@ public: void StartEntry(); void EndEntry(); - ULONG BytesLeft() const; + sal_uIntPtr BytesLeft() const; static void Skip( SvStream& ); // komplett ueberspringen }; @@ -89,12 +89,12 @@ class ImpSvNumMultipleWriteHeader private: SvStream& rStream; SvMemoryStream aMemStream; - ULONG nDataPos; + sal_uIntPtr nDataPos; sal_uInt32 nDataSize; - ULONG nEntryStart; + sal_uIntPtr nEntryStart; public: - ImpSvNumMultipleWriteHeader(SvStream& rNewStream, ULONG nDefault = 0); + ImpSvNumMultipleWriteHeader(SvStream& rNewStream, sal_uIntPtr nDefault = 0); ~ImpSvNumMultipleWriteHeader(); void StartEntry(); -- cgit From 6e6de6ff1ed83b1a0d3a09ce4a91f72f15403886 Mon Sep 17 00:00:00 2001 From: Carsten Driesner Date: Thu, 13 Jan 2011 10:26:18 +0100 Subject: removetooltypes01: #i112600# Exchange misleading sal_uIntPtr with sal_uLong in svl --- svl/source/numbers/numhead.hxx | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'svl/source/numbers/numhead.hxx') diff --git a/svl/source/numbers/numhead.hxx b/svl/source/numbers/numhead.hxx index 6ed95c39e3d5..c268d1869b8a 100644 --- a/svl/source/numbers/numhead.hxx +++ b/svl/source/numbers/numhead.hxx @@ -39,24 +39,24 @@ class SvNumReadHeader { private: SvStream& rStream; - sal_uIntPtr nDataEnd; + sal_uLong nDataEnd; public: SvNumReadHeader(SvStream& rNewStream); ~SvNumReadHeader(); - sal_uIntPtr BytesLeft() const; + sal_uLong BytesLeft() const; }; class SvNumWriteHeader { private: SvStream& rStream; - sal_uIntPtr nDataPos; - sal_uIntPtr nDataSize; + sal_uLong nDataPos; + sal_uLong nDataSize; public: - SvNumWriteHeader(SvStream& rNewStream, sal_uIntPtr nDefault = 0); + SvNumWriteHeader(SvStream& rNewStream, sal_uLong nDefault = 0); ~SvNumWriteHeader(); }; @@ -70,8 +70,8 @@ private: SvStream& rStream; char* pBuf; SvMemoryStream* pMemStream; - sal_uIntPtr nEndPos; - sal_uIntPtr nEntryEnd; + sal_uLong nEndPos; + sal_uLong nEntryEnd; public: ImpSvNumMultipleReadHeader(SvStream& rNewStream); @@ -79,7 +79,7 @@ public: void StartEntry(); void EndEntry(); - sal_uIntPtr BytesLeft() const; + sal_uLong BytesLeft() const; static void Skip( SvStream& ); // komplett ueberspringen }; @@ -89,12 +89,12 @@ class ImpSvNumMultipleWriteHeader private: SvStream& rStream; SvMemoryStream aMemStream; - sal_uIntPtr nDataPos; + sal_uLong nDataPos; sal_uInt32 nDataSize; - sal_uIntPtr nEntryStart; + sal_uLong nEntryStart; public: - ImpSvNumMultipleWriteHeader(SvStream& rNewStream, sal_uIntPtr nDefault = 0); + ImpSvNumMultipleWriteHeader(SvStream& rNewStream, sal_uLong nDefault = 0); ~ImpSvNumMultipleWriteHeader(); void StartEntry(); -- cgit