summaryrefslogtreecommitdiff
path: root/vcl/osx/salobj.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-08-07 08:14:27 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-08-07 08:14:27 +0200
commit5e4476b6ecda4be8a3271185bfc5d1aff58ce3af (patch)
tree088c9a686397b2d99cf51d559db209ede86f198d /vcl/osx/salobj.cxx
parent0451703e2eff960c12443e2ab8d58b2d91754f3c (diff)
loplugin:oncevar
Change-Id: I678b1bf281ae4de4a75f8c83398ee19f75b4f278
Diffstat (limited to 'vcl/osx/salobj.cxx')
-rw-r--r--vcl/osx/salobj.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/osx/salobj.cxx b/vcl/osx/salobj.cxx
index b9170f706c38..957f017363fc 100644
--- a/vcl/osx/salobj.cxx
+++ b/vcl/osx/salobj.cxx
@@ -59,7 +59,7 @@ AquaSalObject::AquaSalObject( AquaSalFrame* pFrame, SystemWindowData* pWindowDat
if (pWindowData->bLegacy)
{
- NSOpenGLPixelFormatAttribute aAttributes[] =
+ NSOpenGLPixelFormatAttribute const aAttributes[] =
{
NSOpenGLPFADoubleBuffer,
NSOpenGLPFAAlphaSize, 8,
@@ -74,7 +74,7 @@ AquaSalObject::AquaSalObject( AquaSalFrame* pFrame, SystemWindowData* pWindowDat
}
else
{
- NSOpenGLPixelFormatAttribute aAttributes[] =
+ NSOpenGLPixelFormatAttribute const aAttributes[] =
{
NSOpenGLPFAOpenGLProfile, NSOpenGLProfileVersion3_2Core,
NSOpenGLPFADoubleBuffer,