diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-02 09:18:15 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2010-11-02 09:18:15 +0100 |
commit | b9744592520ab3d131a7d85df7e5214b5c2cc709 (patch) | |
tree | 0c4b261b95eb51a4aefe6c88e888d3675a1eaa73 /sc/source/ui/view/tabvwshg.cxx | |
parent | d49977f3bae61dcc1ec345be8710cd647ea2f5c9 (diff) |
replace use RTL_CONSTASCII_USTRINGPARAM
Diffstat (limited to 'sc/source/ui/view/tabvwshg.cxx')
-rw-r--r-- | sc/source/ui/view/tabvwshg.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/view/tabvwshg.cxx b/sc/source/ui/view/tabvwshg.cxx index f7aac8b56da4..6c83cbcc2f93 100644 --- a/sc/source/ui/view/tabvwshg.cxx +++ b/sc/source/ui/view/tabvwshg.cxx @@ -91,21 +91,21 @@ void ScTabViewShell::InsertURLButton( const String& rName, const String& rURL, uno::Any aAny; aAny <<= rtl::OUString(rName); - xPropSet->setPropertyValue( rtl::OUString::createFromAscii( "Label" ), aAny ); + xPropSet->setPropertyValue( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "Label" )), aAny ); ::rtl::OUString aTmp = INetURLObject::GetAbsURL( pDoc->GetDocumentShell()->GetMedium()->GetBaseURL(), rURL ); aAny <<= aTmp; - xPropSet->setPropertyValue( rtl::OUString::createFromAscii( "TargetURL" ), aAny ); + xPropSet->setPropertyValue( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "TargetURL" )), aAny ); if( rTarget.Len() ) { aAny <<= rtl::OUString(rTarget); - xPropSet->setPropertyValue( rtl::OUString::createFromAscii( "TargetFrame" ), aAny ); + xPropSet->setPropertyValue( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "TargetFrame" )), aAny ); } form::FormButtonType eButtonType = form::FormButtonType_URL; aAny <<= eButtonType; - xPropSet->setPropertyValue( rtl::OUString::createFromAscii( "ButtonType" ), aAny ); + xPropSet->setPropertyValue( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "ButtonType" )), aAny ); if ( ::avmedia::MediaWindow::isMediaURL( rURL ) ) { |