From 0f04b8204a77ecaee7d9ebe6868808445c8b138a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 12 Nov 2020 12:29:08 +0200 Subject: remove SalPoint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit that "SalPoint" doesn't really seem to to have a purpose except to highlight that "Point" is assumed to use LONG under windows and can be passed unchanged to those windows drawing apis so I guess remove SalPoint entirely, use Point instead, and convert to "POINT" under windows ? Change-Id: Ic15a7f4516e2075a228fa65cac4e8494d5b3abaa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105634 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- include/vcl/salgtype.hxx | 9 --------- 1 file changed, 9 deletions(-) (limited to 'include/vcl/salgtype.hxx') diff --git a/include/vcl/salgtype.hxx b/include/vcl/salgtype.hxx index d19bf776a31f..902170555526 100644 --- a/include/vcl/salgtype.hxx +++ b/include/vcl/salgtype.hxx @@ -36,15 +36,6 @@ enum class DeviceFormat { constexpr ::Color SALCOLOR_NONE ( 0xFF, 0xFF, 0xFF, 0xFF ); -// must equal to the Windows POINT type, which is why we use sal_Int32 -struct SalPoint -{ - sal_Int32 mnX; - sal_Int32 mnY; -}; - -typedef const SalPoint* PCONSTSALPOINT; - struct SalTwoRect { tools::Long mnSrcX; -- cgit