diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-11-12 08:19:33 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-11-12 15:00:37 +0100 |
commit | f7e6c9853decbb61dc9aaa5ed3a3aa33d529d6e2 (patch) | |
tree | 902fdc1207683a06b6f6e481f38f73e0984578fb /vcl/quartz | |
parent | d23aed9a1fbb6549ca3b8a3e2ab5d779c84e3fb5 (diff) |
loplugin:cstylecast (macOS)
Change-Id: Ic2833f2e6dfea4a9e3dd1094151f86e07be83040
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105623
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/quartz')
-rw-r--r-- | vcl/quartz/utils.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/quartz/utils.cxx b/vcl/quartz/utils.cxx index ce5f9e4fa77e..cc18eb0d409f 100644 --- a/vcl/quartz/utils.cxx +++ b/vcl/quartz/utils.cxx @@ -208,7 +208,7 @@ std::ostream &operator <<(std::ostream& s, CGColorSpaceRef cs) CFStringRef name = CGColorSpaceCopyName(cs); if (name != nullptr) - s << " (" << [(NSString *)name UTF8String] << ")"; + s << " (" << [static_cast<NSString *>(name) UTF8String] << ")"; #endif return s; } |