summaryrefslogtreecommitdiff
path: root/sd/source/ui/animations/CustomAnimationList.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/animations/CustomAnimationList.cxx')
-rw-r--r--sd/source/ui/animations/CustomAnimationList.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/animations/CustomAnimationList.cxx b/sd/source/ui/animations/CustomAnimationList.cxx
index a9502817cd35..761fe3003336 100644
--- a/sd/source/ui/animations/CustomAnimationList.cxx
+++ b/sd/source/ui/animations/CustomAnimationList.cxx
@@ -134,12 +134,12 @@ OUString getShapeDescription( const Reference< XShape >& xShape, bool bWithText
if( xSet.is() )
{
Reference< XPropertySetInfo > xInfo( xSet->getPropertySetInfo() );
- const OUString aPropName( RTL_CONSTASCII_USTRINGPARAM("UINameSingular") );
+ const OUString aPropName( "UINameSingular");
if( xInfo->hasPropertyByName( aPropName ) )
xSet->getPropertyValue( aPropName ) >>= aDescription;
}
- aDescription += OUString( RTL_CONSTASCII_USTRINGPARAM(" "));
+ aDescription += " ";
aDescription += OUString::valueOf( getShapeIndex( xShape ) );
if( bWithText )
@@ -150,7 +150,7 @@ OUString getShapeDescription( const Reference< XShape >& xShape, bool bWithText
OUString aText( xText->getString() );
if( !aText.isEmpty() )
{
- aDescription += OUString(RTL_CONSTASCII_USTRINGPARAM(": "));
+ aDescription += ": ";
aText = aText.replace( (sal_Unicode)'\n', (sal_Unicode)' ' );
aText = aText.replace( (sal_Unicode)'\r', (sal_Unicode)' ' );
@@ -670,7 +670,7 @@ void CustomAnimationList::update()
SvLBoxEntry* pLBoxEntry = new CustomAnimationListEntry;
pLBoxEntry->AddItem( new SvLBoxContextBmp( pLBoxEntry, 0, Image(), Image(), 0));
OUString aDescription = String( SdResId( STR_CUSTOMANIMATION_TRIGGER ) );
- aDescription += OUString( RTL_CONSTASCII_USTRINGPARAM(": ") );
+ aDescription += ": ";
aDescription += getShapeDescription( xShape, false );
pLBoxEntry->AddItem( new CustomAnimationTriggerEntryItem( pLBoxEntry, 0, aDescription, this ) );
Insert( pLBoxEntry );