add tools::Long typedef and use it in tools

Desktop / LibreOffice - Noel [gmail.com] - 19 October 2020 10:56 UTC

first step to switching long to a 64-bit type on 64-bit windows

Change-Id: I640d807426dfe713c7a8984ef560575f8288dbeb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104516

2646023729dd add tools::Long typedef and use it in tools
include/tools/bigint.hxx | 5 +-
include/tools/fract.hxx | 3 +-
include/tools/gen.hxx | 203 ++++++++++++++++++------------------
include/tools/helpers.hxx | 13 +--
include/tools/long.hxx | 33 ++++++
include/tools/poly.hxx | 6 +-
include/tools/stream.hxx | 3 +-
include/tools/svborder.hxx | 21 ++--
include/tools/zcodec.hxx | 9 +-
tools/inc/poly.h | 2 +-
tools/qa/cppunit/test_minmax.cxx | 8 +-
tools/qa/cppunit/test_rectangle.cxx | 24 ++---
tools/source/generic/color.cxx | 13 +--
tools/source/generic/gen.cxx | 32 +++---
tools/source/generic/point.cxx | 22 ++--
tools/source/generic/poly.cxx | 64 ++++++------
tools/source/generic/poly2.cxx | 4 +-
tools/source/stream/stream.cxx | 15 +--
tools/source/zcodec/zcodec.cxx | 19 ++--
19 files changed, 271 insertions(+), 228 deletions(-)

Upstream: cgit.freedesktop.org


  • Share