diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-08 23:45:18 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-08 23:47:24 +0200 |
commit | 91cfdc9fbd84d1e7f2103efb702f52ccfd9993e5 (patch) | |
tree | 5648aefebc7416b9eb27506808e369041d5e30bb /vcl/quartz | |
parent | 8e9650ff54efd0e53973cf2dcf715cf7bfa2c8d3 (diff) |
loplugin:staticmethods
Change-Id: Iafb48b20496924c64f9aaa3ec0965b023aef6a07
Diffstat (limited to 'vcl/quartz')
-rw-r--r-- | vcl/quartz/salgdicommon.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/vcl/quartz/salgdicommon.cxx b/vcl/quartz/salgdicommon.cxx index ac65c7727f5d..d0be52a831a5 100644 --- a/vcl/quartz/salgdicommon.cxx +++ b/vcl/quartz/salgdicommon.cxx @@ -1803,7 +1803,9 @@ void AquaSalGraphics::invert( long nX, long nY, long nWidth, long nHeight, SalIn } } -CGPoint* AquaSalGraphics::makeCGptArray(sal_uInt32 nPoints, const SalPoint* pPtAry) +namespace { + +CGPoint* makeCGptArray(sal_uInt32 nPoints, const SalPoint* pPtAry) { CGPoint *CGpoints = new CGPoint[nPoints]; if ( CGpoints ) @@ -1817,6 +1819,8 @@ CGPoint* AquaSalGraphics::makeCGptArray(sal_uInt32 nPoints, const SalPoint* pPtA return CGpoints; } +} + void AquaSalGraphics::invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert nSalFlags ) { if ( CheckContext() ) |