[Libreoffice-commits] core.git: vcl/quartz
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Thu Nov 12 14:01:32 UTC 2020
vcl/quartz/utils.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f7e6c9853decbb61dc9aaa5ed3a3aa33d529d6e2
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Nov 12 08:19:33 2020 +0100
Commit: Stephan Bergmann <sbergman at 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 <sbergman at 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;
}
More information about the Libreoffice-commits
mailing list