summaryrefslogtreecommitdiff
path: root/sc/source/ui/drawfunc/drawsh5.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/drawfunc/drawsh5.cxx')
-rw-r--r--sc/source/ui/drawfunc/drawsh5.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/ui/drawfunc/drawsh5.cxx b/sc/source/ui/drawfunc/drawsh5.cxx
index fa4c2ece3824..5d4029de27c6 100644
--- a/sc/source/ui/drawfunc/drawsh5.cxx
+++ b/sc/source/ui/drawfunc/drawsh5.cxx
@@ -92,10 +92,10 @@ void ScDrawShell::GetHLinkState( SfxItemSet& rSet ) // Hyperlink
uno::Reference< beans::XPropertySet > xPropSet( xControlModel, uno::UNO_QUERY );
uno::Reference< beans::XPropertySetInfo > xInfo = xPropSet->getPropertySetInfo();
- rtl::OUString sPropButtonType(RTL_CONSTASCII_USTRINGPARAM( "ButtonType" ));
- rtl::OUString sPropTargetURL(RTL_CONSTASCII_USTRINGPARAM( "TargetURL" ));
- rtl::OUString sPropTargetFrame(RTL_CONSTASCII_USTRINGPARAM( "TargetFrame" ));
- rtl::OUString sPropLabel(RTL_CONSTASCII_USTRINGPARAM( "Label" ));
+ rtl::OUString sPropButtonType( "ButtonType" );
+ rtl::OUString sPropTargetURL( "TargetURL" );
+ rtl::OUString sPropTargetFrame( "TargetFrame" );
+ rtl::OUString sPropLabel( "Label" );
if(xInfo->hasPropertyByName( sPropButtonType ))
{
@@ -179,16 +179,16 @@ void ScDrawShell::ExecuteHLink( SfxRequest& rReq )
uno::Reference< beans::XPropertySet > xPropSet( xControlModel, uno::UNO_QUERY );
uno::Reference< beans::XPropertySetInfo > xInfo = xPropSet->getPropertySetInfo();
- rtl::OUString sPropTargetURL(RTL_CONSTASCII_USTRINGPARAM( "TargetURL" ));
+ rtl::OUString sPropTargetURL( "TargetURL" );
// Darf man eine URL an dem Objekt setzen?
if (xInfo->hasPropertyByName( sPropTargetURL ))
{
// Ja!
- rtl::OUString sPropButtonType(RTL_CONSTASCII_USTRINGPARAM( "ButtonType") );
- rtl::OUString sPropTargetFrame(RTL_CONSTASCII_USTRINGPARAM( "TargetFrame" ));
- rtl::OUString sPropLabel(RTL_CONSTASCII_USTRINGPARAM( "Label" ));
+ rtl::OUString sPropButtonType( "ButtonType");
+ rtl::OUString sPropTargetFrame( "TargetFrame" );
+ rtl::OUString sPropLabel( "Label" );
uno::Any aAny;
if ( xInfo->hasPropertyByName( sPropLabel ) )