summaryrefslogtreecommitdiff
path: root/vcl/osx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/osx')
-rw-r--r--vcl/osx/a11yvaluewrapper.mm6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/osx/a11yvaluewrapper.mm b/vcl/osx/a11yvaluewrapper.mm
index 4882cd2eff97..0cf3786fbe6e 100644
--- a/vcl/osx/a11yvaluewrapper.mm
+++ b/vcl/osx/a11yvaluewrapper.mm
@@ -31,7 +31,7 @@ using namespace ::com::sun::star::uno;
+(id)valueAttributeForElement:(AquaA11yWrapper *)wrapper {
// TODO: Detect Type from Any
if ( [ wrapper accessibleValue ] ) {
- long value = 0;
+ sal_Int32 value = 0;
[ wrapper accessibleValue ] -> getCurrentValue() >>= value;
return [ NSNumber numberWithLong: value ];
}
@@ -41,7 +41,7 @@ using namespace ::com::sun::star::uno;
+(id)minValueAttributeForElement:(AquaA11yWrapper *)wrapper {
// TODO: Detect Type from Any
if ( [ wrapper accessibleValue ] ) {
- long value = 0;
+ sal_Int32 value = 0;
[ wrapper accessibleValue ] -> getMinimumValue() >>= value;
return [ NSNumber numberWithLong: value ];
}
@@ -51,7 +51,7 @@ using namespace ::com::sun::star::uno;
+(id)maxValueAttributeForElement:(AquaA11yWrapper *)wrapper {
// TODO: Detect Type from Any
if ( [ wrapper accessibleValue ] ) {
- long value = 0;
+ sal_Int32 value = 0;
[ wrapper accessibleValue ] -> getMaximumValue() >>= value;
return [ NSNumber numberWithLong: value ];
}