summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviewsf.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/drviewsf.cxx')
-rw-r--r--sd/source/ui/view/drviewsf.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/view/drviewsf.cxx b/sd/source/ui/view/drviewsf.cxx
index 58b5ca0da82a..c9cbbbd0b77d 100644
--- a/sd/source/ui/view/drviewsf.cxx
+++ b/sd/source/ui/view/drviewsf.cxx
@@ -120,13 +120,13 @@ void DrawViewShell::GetCtrlState(SfxItemSet &rSet)
uno::Reference< beans::XPropertySetInfo > xPropInfo( xPropSet->getPropertySetInfo(), uno::UNO_SET_THROW );
form::FormButtonType eButtonType = form::FormButtonType_URL;
- const OUString sButtonType( "ButtonType" );
+ static const OUStringLiteral sButtonType( u"ButtonType" );
if(xPropInfo->hasPropertyByName( sButtonType ) && (xPropSet->getPropertyValue( sButtonType ) >>= eButtonType ) )
{
OUString aString;
// Label
- const OUString sLabel( "Label" );
+ static const OUStringLiteral sLabel( u"Label" );
if(xPropInfo->hasPropertyByName(sLabel))
{
if( xPropSet->getPropertyValue(sLabel) >>= aString )
@@ -134,7 +134,7 @@ void DrawViewShell::GetCtrlState(SfxItemSet &rSet)
}
// URL
- const OUString sTargetURL( "TargetURL" );
+ static const OUStringLiteral sTargetURL( u"TargetURL" );
if(xPropInfo->hasPropertyByName(sTargetURL))
{
if( xPropSet->getPropertyValue(sTargetURL) >>= aString )
@@ -142,7 +142,7 @@ void DrawViewShell::GetCtrlState(SfxItemSet &rSet)
}
// Target
- const OUString sTargetFrame( "TargetFrame" );
+ static const OUStringLiteral sTargetFrame( u"TargetFrame" );
if(xPropInfo->hasPropertyByName(sTargetFrame) )
{
if( xPropSet->getPropertyValue(sTargetFrame) >>= aString )