[Libreoffice-commits] core.git: vcl/osx
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Sun Nov 15 16:15:37 UTC 2020
vcl/osx/a11ywrapper.mm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bde51945e0624b7ce5d02144bbb60044db3284ab
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Nov 12 14:11:06 2020 +0100
Commit: Stephan Bergmann <sbergman at 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 <sbergman at 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 ];
More information about the Libreoffice-commits
mailing list