diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-12-20 18:02:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-12-21 06:44:59 +0000 |
commit | 6f43f00279252265fe4892b46fe0b4686ff721ed (patch) | |
tree | e27a0a74ce8ec7dda10eae8ff53223bf8e1e6851 /vcl/headless | |
parent | f9785ea595fd8e911f6370e836fa579225b9e571 (diff) |
No need for bool return value here
all of the implementations of this method return true.
Change-Id: I6dc02499af1809110edd482a48d9f6d5d42ead19
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144620
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/headless')
-rw-r--r-- | vcl/headless/SvpGraphicsBackend.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/headless/SvpGraphicsBackend.cxx b/vcl/headless/SvpGraphicsBackend.cxx index cd5487031a63..10667e53e4dd 100644 --- a/vcl/headless/SvpGraphicsBackend.cxx +++ b/vcl/headless/SvpGraphicsBackend.cxx @@ -34,10 +34,9 @@ void SvpGraphicsBackend::Init() {} void SvpGraphicsBackend::freeResources() {} -bool SvpGraphicsBackend::setClipRegion(const vcl::Region& i_rClip) +void SvpGraphicsBackend::setClipRegion(const vcl::Region& i_rClip) { m_rCairoCommon.m_aClipRegion = i_rClip; - return true; } void SvpGraphicsBackend::ResetClipRegion() { m_rCairoCommon.m_aClipRegion.SetNull(); } |