summaryrefslogtreecommitdiff
path: root/include/vcl/salgtype.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2020-11-12 12:29:08 +0200
committerCaolán McNamara <caolanm@redhat.com>2020-11-14 20:43:07 +0100
commit0f04b8204a77ecaee7d9ebe6868808445c8b138a (patch)
tree92da7b71ed889bde2595cc0bff3a82f429aa14c7 /include/vcl/salgtype.hxx
parent4ad0459494303745b377c848c681a747f294fc64 (diff)
remove SalPoint
<caolan> 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 <caolan> 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 <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/salgtype.hxx')
-rw-r--r--include/vcl/salgtype.hxx9
1 files changed, 0 insertions, 9 deletions
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;