diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-04-23 18:33:35 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-04-24 12:22:34 +0300 |
commit | 309c7406840e42f0df18629319885209d66c0be3 (patch) | |
tree | 647667e75fec585aa97086e650a5d551e7933287 /vcl | |
parent | 77eec72f7bd77bccb7349ff50472e19993b4c901 (diff) |
WaE: when type is in parentheses, array cannot have dynamic size
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/aqua/source/gdi/salgdiutils.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/aqua/source/gdi/salgdiutils.cxx b/vcl/aqua/source/gdi/salgdiutils.cxx index 66e335c8cb50..5c799e3c7de1 100644 --- a/vcl/aqua/source/gdi/salgdiutils.cxx +++ b/vcl/aqua/source/gdi/salgdiutils.cxx @@ -256,7 +256,7 @@ void AquaSalGraphics::RefreshRect(float lX, float lY, float lWidth, float lHeigh CGPoint* AquaSalGraphics::makeCGptArray(sal_uLong nPoints, const SalPoint* pPtAry) { - CGPoint *CGpoints = new (CGPoint[nPoints]); + CGPoint *CGpoints = new CGPoint[nPoints]; if ( CGpoints ) { for(sal_uLong i=0;i<nPoints;i++) |