summaryrefslogtreecommitdiff
path: root/vcl/aqua/source/a11y
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2010-12-15 07:55:20 +0100
committerDavid Tardon <dtardon@redhat.com>2010-12-15 07:55:20 +0100
commita21107e4d727e284b927c6ebc2abd4088e94afab (patch)
tree16eadc1bafa49bb9e42d47ab69220d729bb127a9 /vcl/aqua/source/a11y
parent9084890be9f06768305788cedc43cdf2ed8b96ef (diff)
RTL_CONSTASCII_USTRINGPARAM for aqua
Diffstat (limited to 'vcl/aqua/source/a11y')
-rw-r--r--vcl/aqua/source/a11y/aqua11ytextattributeswrapper.mm24
1 files changed, 12 insertions, 12 deletions
diff --git a/vcl/aqua/source/a11y/aqua11ytextattributeswrapper.mm b/vcl/aqua/source/a11y/aqua11ytextattributeswrapper.mm
index 6577cebf295e..7bee05d49ce6 100644
--- a/vcl/aqua/source/a11y/aqua11ytextattributeswrapper.mm
+++ b/vcl/aqua/source/a11y/aqua11ytextattributeswrapper.mm
@@ -132,18 +132,18 @@ using namespace ::rtl;
+(void)applyAttributesFrom:(Sequence < PropertyValue >)attributes toString:(NSMutableAttributedString *)string forRange:(NSRange)range storeDefaultsTo:(AquaA11yWrapper *)wrapperStore getDefaultsFrom:(AquaA11yWrapper *)wrapper {
NSAutoreleasePool * pool = [ [ NSAutoreleasePool alloc ] init ];
// constants
- static const OUString attrUnderline = OUString::createFromAscii("CharUnderline");
- static const OUString attrBold = OUString::createFromAscii("CharWeight");
- static const OUString attrFontname = OUString::createFromAscii("CharFontName");
- static const OUString attrItalic = OUString::createFromAscii("CharPosture");
- static const OUString attrHeight = OUString::createFromAscii("CharHeight");
- static const OUString attrStrikethrough = OUString::createFromAscii("CharStrikeout");
- static const OUString attrShadow = OUString::createFromAscii("CharShadowed");
- static const OUString attrUnderlineColor = OUString::createFromAscii("CharUnderlineColor");
- static const OUString attrUnderlineHasColor = OUString::createFromAscii("CharUnderlineHasColor");
- static const OUString attrForegroundColor = OUString::createFromAscii("CharColor");
- static const OUString attrBackgroundColor = OUString::createFromAscii("CharBackColor");
- static const OUString attrSuperscript = OUString::createFromAscii("CharEscapement");
+ static const OUString attrUnderline(RTL_CONSTASCII_USTRINGPARAM("CharUnderline"));
+ static const OUString attrBold(RTL_CONSTASCII_USTRINGPARAM("CharWeight"));
+ static const OUString attrFontname(RTL_CONSTASCII_USTRINGPARAM("CharFontName"));
+ static const OUString attrItalic(RTL_CONSTASCII_USTRINGPARAM("CharPosture"));
+ static const OUString attrHeight(RTL_CONSTASCII_USTRINGPARAM("CharHeight"));
+ static const OUString attrStrikethrough(RTL_CONSTASCII_USTRINGPARAM("CharStrikeout"));
+ static const OUString attrShadow(RTL_CONSTASCII_USTRINGPARAM("CharShadowed"));
+ static const OUString attrUnderlineColor(RTL_CONSTASCII_USTRINGPARAM("CharUnderlineColor"));
+ static const OUString attrUnderlineHasColor(RTL_CONSTASCII_USTRINGPARAM("CharUnderlineHasColor"));
+ static const OUString attrForegroundColor(RTL_CONSTASCII_USTRINGPARAM("CharColor"));
+ static const OUString attrBackgroundColor(RTL_CONSTASCII_USTRINGPARAM("CharBackColor"));
+ static const OUString attrSuperscript(RTL_CONSTASCII_USTRINGPARAM("CharEscapement"));
// vars
OUString fontname;
int fonttraits = 0;