summaryrefslogtreecommitdiff
path: root/vcl/quartz/salbmp.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-22 19:36:09 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-22 19:36:51 +0100
commit3f075756588c23bf5a8e967b1d3a0e6670c3c279 (patch)
treef0e739bb01a499fbf436bd42f8114c4937277d4d /vcl/quartz/salbmp.cxx
parent25442edcad1b0a2284cfaac6e5ed2bc17fb55478 (diff)
loplugin:cstylecast (MACOSX)
Change-Id: Ia4c8920ce2ce44286c5042d4b5dbeaa41fe355cc
Diffstat (limited to 'vcl/quartz/salbmp.cxx')
-rw-r--r--vcl/quartz/salbmp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/quartz/salbmp.cxx b/vcl/quartz/salbmp.cxx
index 78064c210d14..1de819593964 100644
--- a/vcl/quartz/salbmp.cxx
+++ b/vcl/quartz/salbmp.cxx
@@ -400,7 +400,7 @@ public:
virtual void StartLine( sal_uInt8* pLine ) SAL_OVERRIDE
{
- pData16 = (sal_uInt16*)pLine;
+ pData16 = reinterpret_cast<sal_uInt16*>(pLine);
}
virtual void SkipPixel( sal_uInt32 nPixel ) SAL_OVERRIDE
{