diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-04 08:47:31 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-04 08:47:47 +0100 |
commit | 083f517ca3c037a1d36e6f5ea830366f24659f22 (patch) | |
tree | d35f9a0d9b4c9236e042beba7ae35a804de28ff3 /vcl/osx/a11ytextattributeswrapper.mm | |
parent | 2e9816e59f7f44356b5bdc8d0e7da21cdd497f9a (diff) |
vcl (Mac): loplugin:cstylecast
Change-Id: Ic46623380f026a8dfcc74c895db35a06bcea1ead
Diffstat (limited to 'vcl/osx/a11ytextattributeswrapper.mm')
-rw-r--r-- | vcl/osx/a11ytextattributeswrapper.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/a11ytextattributeswrapper.mm b/vcl/osx/a11ytextattributeswrapper.mm index 4b1823433b82..3ac368ea17c8 100644 --- a/vcl/osx/a11ytextattributeswrapper.mm +++ b/vcl/osx/a11ytextattributeswrapper.mm @@ -178,7 +178,7 @@ using namespace ::com::sun::star::uno; return; const RGBAColor aRGBAColor( nSalColor); CGColorRef aColorRef = CGColorCreate ( CGColorSpaceCreateWithName ( kCGColorSpaceGenericRGB ), aRGBAColor.AsArray() ); - [ string addAttribute: attribute value: (id) aColorRef range: range ]; + [ string addAttribute: attribute value: reinterpret_cast<id>(aColorRef) range: range ]; CGColorRelease( aColorRef ); } |