3d90997fb6
This is only for the 64-bit windows platform. I don't see the point in messing with the 32-bit platforms, they are (a) become more and more rare (b) unlikely to even have enough available process memory to load extremely large calc spreadsheets The primary problem we are addressing here is bringing Windows-64bit up to same capability as Linux-64bit when it comes to handling very large spreadsheets, which is caused by things like tools::Rectangle using "long", which means that all the work done to make Libreoffice on 64-bit Linux capable of loading large spreadsheets is useless on Windows, where long is 32-bit. The operator<< for tools::Rectangle needs to be inside the tools namespace because of an interaction with the cppunit printing template stuff that I don't understand. SalPoint changed to use sal_Int32, since it needs to be the same definition as the Windows POINT structure. Change-Id: Iab6f1af88847b6c8d46995e8ceda3f82b6722ff7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104913 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
29 lines
830 B
C++
29 lines
830 B
C++
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
/*
|
|
* This file is part of the LibreOffice project.
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
#ifndef INCLUDED_VCL_DEVICE_COORDINATE_HXX
|
|
#define INCLUDED_VCL_DEVICE_COORDINATE_HXX
|
|
|
|
#include <config_vcl.h>
|
|
#include <tools/long.hxx>
|
|
|
|
#if VCL_FLOAT_DEVICE_PIXEL
|
|
#include <basegfx/point/b2dpoint.hxx>
|
|
typedef double DeviceCoordinate;
|
|
|
|
#else /* !VCL_FLOAT_DEVICE_PIXEL */
|
|
|
|
#include <basegfx/point/b2ipoint.hxx>
|
|
typedef tools::Long DeviceCoordinate;
|
|
|
|
#endif /* ! Carpet Cushion */
|
|
|
|
#endif /* NDef INCLUDED_VCL_DEVICE_COORDINATE_HXX */
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|