vcl/osx/a11ywrapper.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit bde51945e0624b7ce5d02144bbb60044db3284ab Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Thu Nov 12 14:11:06 2020 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Sun Nov 15 17:14:51 2020 +0100 UNOIDL long vs. C++ sal_Int32 confustion UNOIDL css.awt.Point members x, y are of type long, i.e., sal_Int32 in C++ Change-Id: I3a8f087af2e282e6b82a8409a1202f3be18464ca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105744 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/vcl/osx/a11ywrapper.mm b/vcl/osx/a11ywrapper.mm index 6ed9774c24a2..acb254f59426 100644 --- a/vcl/osx/a11ywrapper.mm +++ b/vcl/osx/a11ywrapper.mm @@ -1032,7 +1032,7 @@ static Reference < XAccessibleContext > hitTestRunner ( css::awt::Point point, } Reference < XAccessibleContext > hitChild; NSRect screenRect = [ [ NSScreen mainScreen ] frame ]; - css::awt::Point hitPoint ( static_cast<long>(point.x) , static_cast<long>(screenRect.size.height - point.y) ); + css::awt::Point hitPoint ( static_cast<sal_Int32>(point.x) , static_cast<sal_Int32>(screenRect.size.height - point.y) ); // check child windows first NSWindow * window = static_cast<NSWindow *>([ self accessibilityAttributeValue: NSAccessibilityWindowAttribute ]); NSArray * childWindows = [ window childWindows ]; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits