diff options
Diffstat (limited to 'vcl/osx/a11ytextattributeswrapper.mm')
-rw-r--r-- | vcl/osx/a11ytextattributeswrapper.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/a11ytextattributeswrapper.mm b/vcl/osx/a11ytextattributeswrapper.mm index 8605405d9454..1af27ad4f247 100644 --- a/vcl/osx/a11ytextattributeswrapper.mm +++ b/vcl/osx/a11ytextattributeswrapper.mm @@ -168,7 +168,7 @@ using namespace ::com::sun::star::uno; } +(void)addColor:(SalColor)nSalColor forAttribute:(NSString *)attribute andRange:(NSRange)range toString:(NSMutableAttributedString *)string { - if( nSalColor == COL_TRANSPARENT ) + if( nSalColor == sal_uInt32(COL_TRANSPARENT) ) return; const RGBAColor aRGBAColor( nSalColor); CGColorRef aColorRef = CGColorCreate ( CGColorSpaceCreateWithName ( kCGColorSpaceGenericRGB ), aRGBAColor.AsArray() ); |