summaryrefslogtreecommitdiff
path: root/sd/source/ui/unoidl/unolayer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/unoidl/unolayer.cxx')
-rw-r--r--sd/source/ui/unoidl/unolayer.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/unoidl/unolayer.cxx b/sd/source/ui/unoidl/unolayer.cxx
index 4940f2cbcffe..986455440e02 100644
--- a/sd/source/ui/unoidl/unolayer.cxx
+++ b/sd/source/ui/unoidl/unolayer.cxx
@@ -91,23 +91,23 @@ const SvxItemPropertySet* ImplGetSdLayerPropertySet()
String SdLayer::convertToInternalName( const OUString& rName )
{
- if( rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM(sUNO_LayerName_background) ) )
+ if ( rName == sUNO_LayerName_background )
{
return String( SdResId( STR_LAYER_BCKGRND ) );
}
- else if( rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM(sUNO_LayerName_background_objects) ) )
+ else if ( rName == sUNO_LayerName_background_objects )
{
return String( SdResId( STR_LAYER_BCKGRNDOBJ ) );
}
- else if( rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM(sUNO_LayerName_layout) ) )
+ else if ( rName == sUNO_LayerName_layout )
{
return String( SdResId( STR_LAYER_LAYOUT ) );
}
- else if( rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM(sUNO_LayerName_controls) ) )
+ else if ( rName == sUNO_LayerName_controls )
{
return String( SdResId( STR_LAYER_CONTROLS ) );
}
- else if( rName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM(sUNO_LayerName_measurelines) ) )
+ else if ( rName == sUNO_LayerName_measurelines )
{
return String( SdResId( STR_LAYER_MEASURELINES ) );
}