summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviewse.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-04-05 18:39:50 -0300
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-04-05 18:39:50 -0300
commite912c601843d505de9c92ea04fd54f11016d37c8 (patch)
treeb1d16e3ae4ece41781133ae10f2889dac8287f8c /sd/source/ui/view/drviewse.cxx
parent8981d1d06f2f6225b70d2e51ba0b994a2469037e (diff)
More RTL_CONSTASCII_USTRINGPARAM cleanup
More RTL_CONSTASCII_USTRINGPARAM in module sd
Diffstat (limited to 'sd/source/ui/view/drviewse.cxx')
-rw-r--r--sd/source/ui/view/drviewse.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/sd/source/ui/view/drviewse.cxx b/sd/source/ui/view/drviewse.cxx
index 433118b8c9b8..749d3c7b01b1 100644
--- a/sd/source/ui/view/drviewse.cxx
+++ b/sd/source/ui/view/drviewse.cxx
@@ -1593,16 +1593,16 @@ void DrawViewShell::InsertURLButton(const String& rURL, const String& rText,
Reference< awt::XControlModel > xControlModel( pUnoCtrl->GetUnoControlModel(), UNO_QUERY_THROW );
Reference< beans::XPropertySet > xPropSet( xControlModel, UNO_QUERY_THROW );
- xPropSet->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "Label" )), Any( OUString( rText ) ) );
- xPropSet->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "TargetURL" )), Any( sTargetURL ) );
+ xPropSet->setPropertyValue( OUString( "Label" ), Any( OUString( rText ) ) );
+ xPropSet->setPropertyValue( OUString( "TargetURL" ), Any( sTargetURL ) );
if( rTarget.Len() )
- xPropSet->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "TargetFrame" )), Any( OUString( rTarget ) ) );
+ xPropSet->setPropertyValue( OUString( "TargetFrame" ), Any( OUString( rTarget ) ) );
- xPropSet->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "ButtonType" )), Any( form::FormButtonType_URL ) );
+ xPropSet->setPropertyValue( OUString( "ButtonType" ), Any( form::FormButtonType_URL ) );
if ( ::avmedia::MediaWindow::isMediaURL( rURL ) )
{
- xPropSet->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "DispatchURLInternal" )), Any( sal_True ) );
+ xPropSet->setPropertyValue( OUString( "DispatchURLInternal" ), Any( sal_True ) );
}
}
else
@@ -1628,15 +1628,15 @@ void DrawViewShell::InsertURLButton(const String& rURL, const String& rText,
Reference< awt::XControlModel > xControlModel( pUnoCtrl->GetUnoControlModel(), uno::UNO_QUERY_THROW );
Reference< beans::XPropertySet > xPropSet( xControlModel, uno::UNO_QUERY_THROW );
- xPropSet->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "Label" )), Any( OUString( rText ) ) );
- xPropSet->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "TargetURL" )), Any( sTargetURL ) );
+ xPropSet->setPropertyValue( OUString( "Label" ), Any( OUString( rText ) ) );
+ xPropSet->setPropertyValue( OUString( "TargetURL" ), Any( sTargetURL ) );
if( rTarget.Len() )
- xPropSet->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "TargetFrame" )), Any( OUString( rTarget ) ) );
+ xPropSet->setPropertyValue( OUString( "TargetFrame" ), Any( OUString( rTarget ) ) );
- xPropSet->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "ButtonType" )), Any( form::FormButtonType_URL ) );
+ xPropSet->setPropertyValue( OUString( "ButtonType" ), Any( form::FormButtonType_URL ) );
if ( ::avmedia::MediaWindow::isMediaURL( rURL ) )
- xPropSet->setPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "DispatchURLInternal" )), Any( sal_True ) );
+ xPropSet->setPropertyValue( OUString( "DispatchURLInternal" ), Any( sal_True ) );
Point aPos;