summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
Diffstat (limited to 'forms')
-rw-r--r--forms/source/richtext/richtextcontrol.cxx6
-rw-r--r--forms/source/richtext/specialdispatchers.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/forms/source/richtext/richtextcontrol.cxx b/forms/source/richtext/richtextcontrol.cxx
index 54ef4769dd01..7e1694a4bcdc 100644
--- a/forms/source/richtext/richtextcontrol.cxx
+++ b/forms/source/richtext/richtextcontrol.cxx
@@ -681,11 +681,11 @@ namespace frm
// some hard-coded slots, which do not have a UNO name at SFX level, but which
// we nevertheless need to transport via UNO mechanisms, so we need a name
- if ( _rUnoSlotName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "AllowHangingPunctuation" ) ) )
+ if ( _rUnoSlotName == "AllowHangingPunctuation" )
return SID_ATTR_PARA_HANGPUNCTUATION;
- if ( _rUnoSlotName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ApplyForbiddenCharacterRules" ) ) )
+ if ( _rUnoSlotName == "ApplyForbiddenCharacterRules" )
return SID_ATTR_PARA_FORBIDDEN_RULES;
- if ( _rUnoSlotName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "UseScriptSpacing" ) ) )
+ if ( _rUnoSlotName == "UseScriptSpacing" )
return SID_ATTR_PARA_SCRIPTSPACE;
OSL_ENSURE( pSlot, "lcl_getSlotFromUnoName: unknown UNO slot name!" );
diff --git a/forms/source/richtext/specialdispatchers.cxx b/forms/source/richtext/specialdispatchers.cxx
index 9370ad6010a0..75ca0371aaba 100644
--- a/forms/source/richtext/specialdispatchers.cxx
+++ b/forms/source/richtext/specialdispatchers.cxx
@@ -174,7 +174,7 @@ namespace frm
const PropertyValue* pLookupEnd = _rArguments.getConstArray() + _rArguments.getLength();
while ( pLookup != pLookupEnd )
{
- if ( pLookup->Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "Enable" ) ) )
+ if ( pLookup->Name == "Enable" )
break;
++pLookup;
}