diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-11-12 14:11:06 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-11-15 17:14:51 +0100 |
commit | bde51945e0624b7ce5d02144bbb60044db3284ab (patch) | |
tree | 613de1cc3b68ab1cd4a203d46fa7d858a219f85e /vcl/osx | |
parent | f7b4030014f98070feb923c1d650cb98049db968 (diff) |
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@redhat.com>
Diffstat (limited to 'vcl/osx')
-rw-r--r-- | vcl/osx/a11ywrapper.mm | 2 |
1 files changed, 1 insertions, 1 deletions
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 ]; |