diff options
Diffstat (limited to 'vcl/osx/a11ycomponentwrapper.mm')
-rw-r--r-- | vcl/osx/a11ycomponentwrapper.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/osx/a11ycomponentwrapper.mm b/vcl/osx/a11ycomponentwrapper.mm index 4595ee096b7e..d9d6db175428 100644 --- a/vcl/osx/a11ycomponentwrapper.mm +++ b/vcl/osx/a11ycomponentwrapper.mm @@ -66,12 +66,12 @@ using namespace ::com::sun::star::uno; } +(BOOL)isAttributeSettable:(NSString *)attribute forElement:(AquaA11yWrapper *)wrapper { - BOOL isSettable = NO; + bool isSettable = false; NSAutoreleasePool * pool = [ [ NSAutoreleasePool alloc ] init ]; if ( [ attribute isEqualToString: NSAccessibilityFocusedAttribute ] && ! [ [ AquaA11yRoleHelper getNativeRoleFrom: [ wrapper accessibleContext ] ] isEqualToString: NSAccessibilityScrollBarRole ] && ! [ [ AquaA11yRoleHelper getNativeRoleFrom: [ wrapper accessibleContext ] ] isEqualToString: NSAccessibilityStaticTextRole ] ) { - isSettable = YES; + isSettable = true; } [ pool release ]; return isSettable; |