diff --git a/vcl/osx/a11ytextattributeswrapper.mm b/vcl/osx/a11ytextattributeswrapper.mm index 339103740be0..e129ac927f4e 100644 --- a/vcl/osx/a11ytextattributeswrapper.mm +++ b/vcl/osx/a11ytextattributeswrapper.mm @@ -152,7 +152,7 @@ using namespace ::rtl; +(BOOL)convertBoolean:(PropertyValue)property { BOOL myBoolean = NO; - bool value = sal_False; + bool value = false; property.Value >>= value; if ( value ) { myBoolean = YES; diff --git a/vcl/osx/a11ywrapper.mm b/vcl/osx/a11ywrapper.mm index da7f202ff62e..4e19e1d2cbce 100644 --- a/vcl/osx/a11ywrapper.mm +++ b/vcl/osx/a11ywrapper.mm @@ -310,7 +310,7 @@ static std::ostream &operator<<(std::ostream &s, NSPoint point) { } catch (const Exception&) { } - OSL_ASSERT( 0 ); + OSL_ASSERT( false ); return nil; }