diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2021-04-08 13:27:34 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-04-27 15:59:11 +0200 |
commit | 1e70359ac7f2e10f7cefe006557b3df8e5a46ae0 (patch) | |
tree | 3643b18d34959f1e498cc004140975883d341689 /vcl/inc/quartz | |
parent | 3260edbeb59d87f3f3e5c700cda4b0fd6222df0c (diff) |
vcl: store XorEmulation in a unique_ptr not raw pointer
Change-Id: I123c4048d333cdc761582763d6ccb9c254e32bbb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114700
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/inc/quartz')
-rw-r--r-- | vcl/inc/quartz/salgdi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/quartz/salgdi.h b/vcl/inc/quartz/salgdi.h index 421cbffba55b..80e6c66d1a00 100644 --- a/vcl/inc/quartz/salgdi.h +++ b/vcl/inc/quartz/salgdi.h @@ -137,7 +137,7 @@ class AquaSalGraphics : public SalGraphics CGContextHolder maBGContextHolder; // Quartz drawing context for CGLayer CGContextHolder maCSContextHolder; // Quartz drawing context considering the color space - XorEmulation* mpXorEmulation; + std::unique_ptr<XorEmulation> mpXorEmulation; int mnXorMode; // 0: off 1: on 2: invert only int mnWidth; int mnHeight; |