diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-11-12 14:34:48 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-11-15 17:15:23 +0100 |
commit | bfc7706b4344ec9b9b300213147f2b874ce21c21 (patch) | |
tree | df3a78cfd47f09ee5b33a9a24eca07b6e982d100 /vcl/inc/quartz | |
parent | bde51945e0624b7ce5d02144bbb60044db3284ab (diff) |
DPI values are generally represented as sal_Int32 in VCL
cf. e.g. pure virtual SalGraphics::GetResolution (vcl/inc/salgdi.hxx)
Change-Id: I77d54ad0a7b80cf8839b253c14ce468ac4e16c84
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105748
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/inc/quartz')
-rw-r--r-- | vcl/inc/quartz/salgdi.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/vcl/inc/quartz/salgdi.h b/vcl/inc/quartz/salgdi.h index d10ea2879559..0dbfd0065090 100644 --- a/vcl/inc/quartz/salgdi.h +++ b/vcl/inc/quartz/salgdi.h @@ -143,8 +143,8 @@ class AquaSalGraphics : public SalGraphics int mnHeight; int mnBitmapDepth; // zero unless bitmap /// device resolution of this graphics - long mnRealDPIX; - long mnRealDPIY; + sal_Int32 mnRealDPIX; + sal_Int32 mnRealDPIY; /// path representing current clip region CGMutablePathRef mxClipPath; @@ -190,7 +190,8 @@ public: bool IsBrushVisible() const { return maFillColor.IsVisible(); } void SetWindowGraphics( AquaSalFrame* pFrame ); - void SetPrinterGraphics( CGContextRef, long nRealDPIX, long nRealDPIY ); + void SetPrinterGraphics( + CGContextRef, sal_Int32 nRealDPIX, sal_Int32 nRealDPIY ); void SetVirDevGraphics(CGLayerHolder const & rLayer, CGContextRef, int nBitDepth = 0); #ifdef MACOSX void initResolution( NSWindow* ); |