summaryrefslogtreecommitdiff
path: root/vcl/osx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-22 15:52:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-24 07:56:01 +0100
commitde8f6b25de6fbe813fe172542e7eff1596b37335 (patch)
tree4a2864c87395463391cd2ad40c4f1ada962f44e9 /vcl/osx
parent182a3c7e12a0f56d664deaf67d17bc51eef6299d (diff)
loplugin:unused-returns in vcl
Change-Id: I507320900a47f604d17ed7d402d531a7cbdf744e Reviewed-on: https://gerrit.libreoffice.org/48331 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/osx')
-rw-r--r--vcl/osx/salobj.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/vcl/osx/salobj.cxx b/vcl/osx/salobj.cxx
index fcee4596037c..85eb5bae2708 100644
--- a/vcl/osx/salobj.cxx
+++ b/vcl/osx/salobj.cxx
@@ -243,7 +243,7 @@ const SystemEnvData* AquaSalObject::GetSystemData() const
class AquaOpenGLContext : public OpenGLContext
{
public:
- virtual bool initWindow() override;
+ virtual void initWindow() override;
private:
GLWindow m_aGLWin;
@@ -314,9 +314,9 @@ void AquaOpenGLContext::destroyCurrentContext()
[NSOpenGLContext clearCurrentContext];
}
-bool AquaOpenGLContext::initWindow()
+void AquaOpenGLContext::initWindow()
{
- OSX_SALDATA_RUNINMAIN_UNION( initWindow(), boolean )
+ OSX_SALDATA_RUNINMAIN( initWindow() )
if( !m_pChildWindow )
{
@@ -328,8 +328,6 @@ bool AquaOpenGLContext::initWindow()
{
InitChildWindow(m_pChildWindow.get());
}
-
- return true;
}
bool AquaOpenGLContext::ImplInit()