diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-06-06 10:03:25 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-06-06 14:37:06 +0200 |
commit | a1a4787a4014f70b00f73fab56996e285e5ed1d0 (patch) | |
tree | c9490b0da77dcccc6cb0525cfaf22042faf62bfe /vcl/osx/salframe.cxx | |
parent | a2f4bdb191d8d11824a0292880377dd4a20ac145 (diff) |
loplugin:data (macOS)
Change-Id: I404a8364a4c7f8d48533fb3c7757a5b7798de9d8
Reviewed-on: https://gerrit.libreoffice.org/73588
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/osx/salframe.cxx')
-rw-r--r-- | vcl/osx/salframe.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx index 2a60c8d85f81..f72ec1f53f57 100644 --- a/vcl/osx/salframe.cxx +++ b/vcl/osx/salframe.cxx @@ -1767,7 +1767,7 @@ void AquaSalFrame::EndSetClipRegion() if( ! maClippingRects.empty() ) { mrClippingPath = CGPathCreateMutable(); - CGPathAddRects( mrClippingPath, nullptr, &maClippingRects[0], maClippingRects.size() ); + CGPathAddRects( mrClippingPath, nullptr, maClippingRects.data(), maClippingRects.size() ); } if( mpNSView && mbShown ) [mpNSView setNeedsDisplay: YES]; |