diff options
author | Tor Lillqvist <tml@collabora.com> | 2020-12-30 16:48:08 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2020-12-31 13:09:18 +0100 |
commit | 6bf3de9144780330a99e7512ade8c31c44b8365b (patch) | |
tree | 28bd10524aea8c9a331282d3ddbc7e6e35cf729d /vcl/quartz | |
parent | a6e7509e1b7f20f7bd266d9c4d7bd0e5b1c72907 (diff) |
Bin unused AquaSalGraphics::GetContext()
Change-Id: I53cfc0451dd67b7508d85050fbf262aafc361550
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108513
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'vcl/quartz')
-rw-r--r-- | vcl/quartz/salgdi.cxx | 8 | ||||
-rw-r--r-- | vcl/quartz/salgdiutils.cxx | 9 |
2 files changed, 0 insertions, 17 deletions
diff --git a/vcl/quartz/salgdi.cxx b/vcl/quartz/salgdi.cxx index 704bba1fae9c..ae6a40cfd4e2 100644 --- a/vcl/quartz/salgdi.cxx +++ b/vcl/quartz/salgdi.cxx @@ -833,14 +833,6 @@ bool AquaSalGraphics::CheckContext() return false; } -CGContextRef AquaSalGraphics::GetContext() -{ - if (!maContextHolder.isSet()) - CheckContext(); - - return maContextHolder.get(); -} - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/quartz/salgdiutils.cxx b/vcl/quartz/salgdiutils.cxx index 985fe38a2d11..94ecb9c5af53 100644 --- a/vcl/quartz/salgdiutils.cxx +++ b/vcl/quartz/salgdiutils.cxx @@ -207,15 +207,6 @@ bool AquaSalGraphics::CheckContext() return maContextHolder.isSet(); } -CGContextRef AquaSalGraphics::GetContext() -{ - if (!maContextHolder.isSet()) - { - CheckContext(); - } - return maContextHolder.get(); -} - /** * Blit the contents of our internal maLayer state to the * associated window, if any; cf. drawRect event handling |