vcl/osx/a11ytextwrapper.mm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f7b4030014f98070feb923c1d650cb98049db968
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Thu Nov 12 13:59:25 2020 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Sun Nov 15 17:14:18 2020 +0100

    UNOIDL long vs. C++ sal_Int32 confustion
    
    UNOIDL css.accessibility.XAccessibleText.getCaretPosition returns long, 
i.e.,
    sal_Int32 in C++
    
    Change-Id: Iaf6f6407f77a3d3fae7cd99e08c4cd43343a7af6
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105742
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/vcl/osx/a11ytextwrapper.mm b/vcl/osx/a11ytextwrapper.mm
index a39037f079b1..cfd4ae7c1c22 100644
--- a/vcl/osx/a11ytextwrapper.mm
+++ b/vcl/osx/a11ytextwrapper.mm
@@ -77,7 +77,7 @@ using namespace ::com::sun::star::uno;
     if ( start != end ) {
         return [ NSValue valueWithRange: NSMakeRange ( start, end - start ) ]; 
// true selection
     } else {
-        long caretPos = [ wrapper accessibleText ] -> getCaretPosition();
+        sal_Int32 caretPos = [ wrapper accessibleText ] -> getCaretPosition();
         if ( caretPos < 0 || caretPos > [ wrapper accessibleText ] -> 
getCharacterCount() ) {
             return nil;
         }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to