vcl/quartz/utils.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f7e6c9853decbb61dc9aaa5ed3a3aa33d529d6e2 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Thu Nov 12 08:19:33 2020 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Thu Nov 12 15:00:37 2020 +0100 loplugin:cstylecast (macOS) Change-Id: Ic2833f2e6dfea4a9e3dd1094151f86e07be83040 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105623 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> 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; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits