diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-14 13:13:19 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-19 10:29:30 +0200 |
commit | 2c35fff7eca3a143d28dc75e6a73fe1101d2af77 (patch) | |
tree | fb31b64880b06b0e2bd867aa6216ae0259c7c091 /framework/source/uielement/popuptoolbarcontroller.cxx | |
parent | ccc297097891e62489e5d281a4ea128ec6b71361 (diff) |
remove most use of RTL_CONSTASCII_USTRINGPARAM macro
This is largely unnecessary when working with OUString
Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
Diffstat (limited to 'framework/source/uielement/popuptoolbarcontroller.cxx')
-rw-r--r-- | framework/source/uielement/popuptoolbarcontroller.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/uielement/popuptoolbarcontroller.cxx b/framework/source/uielement/popuptoolbarcontroller.cxx index 37d84dcbcc8a..03b1fce4c931 100644 --- a/framework/source/uielement/popuptoolbarcontroller.cxx +++ b/framework/source/uielement/popuptoolbarcontroller.cxx @@ -289,7 +289,7 @@ NewToolbarController::execute( sal_Int16 /*KeyModifier*/ ) if ( !m_aLastURL.getLength() ) return; - OUString aTarget( RTL_CONSTASCII_USTRINGPARAM( "_default" ) ); + OUString aTarget( "_default" ); if ( m_xPopupMenu.is() ) { // TODO investigate how to wrap Get/SetUserValue in css::awt::XMenu @@ -308,8 +308,8 @@ NewToolbarController::execute( sal_Int16 /*KeyModifier*/ ) } css::uno::Sequence< css::beans::PropertyValue > aArgs( 1 ); - aArgs[0].Name = OUString( RTL_CONSTASCII_USTRINGPARAM( "Referer" )); - aArgs[0].Value <<= OUString( RTL_CONSTASCII_USTRINGPARAM( "private:user" ) ); + aArgs[0].Name = "Referer"; + aArgs[0].Value <<= OUString( "private:user" ); dispatchCommand( m_aLastURL, aArgs, aTarget ); } |