diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-02 19:43:15 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-02 19:43:15 +0200 |
commit | 4c449bc71224aa4055b9122275885951a39605db (patch) | |
tree | 5c7e59df02a1b52ef0ab796641980ae8e1b4e021 /vcl/quartz/salvd.cxx | |
parent | f4796210b4955019a4f51b29549646fa067e9ae8 (diff) |
loplugin:redundantcast
Change-Id: I6095d1209f2339387e8562074daa32779089a018
Diffstat (limited to 'vcl/quartz/salvd.cxx')
-rw-r--r-- | vcl/quartz/salvd.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/quartz/salvd.cxx b/vcl/quartz/salvd.cxx index 6a6426ceb86c..ae25748dfa12 100644 --- a/vcl/quartz/salvd.cxx +++ b/vcl/quartz/salvd.cxx @@ -236,7 +236,7 @@ bool AquaSalVirtualDevice::SetSize( long nDX, long nDY ) { NSGraphicsContext* pNSContext = [NSGraphicsContext graphicsContextWithWindow: pNSWindow]; if( pNSContext ) - xCGContext = reinterpret_cast<CGContextRef>([pNSContext graphicsPort]); + xCGContext = static_cast<CGContextRef>([pNSContext graphicsPort]); } else { |