Kaydet (Commit) f6edfefd authored tarafından Krisztian Pinter's avatar Krisztian Pinter Kaydeden (comit) Olivier Hallot

RTL_CONSTASCII_USTRINGPARAM removals

Change-Id: Ib483f271d3c826a2b7192b22a174ff9f7b18c3f8
Reviewed-on: https://gerrit.libreoffice.org/2241Reviewed-by: 's avatarOlivier Hallot <olivier.hallot@alta.org.br>
Tested-by: 's avatarOlivier Hallot <olivier.hallot@alta.org.br>
üst d1ba2cd6
...@@ -182,7 +182,7 @@ Bridge::Bridge( ...@@ -182,7 +182,7 @@ Bridge::Bridge(
protPropTid_( protPropTid_(
reinterpret_cast< sal_Int8 const * >(".UrpProtocolPropertiesTid"), reinterpret_cast< sal_Int8 const * >(".UrpProtocolPropertiesTid"),
RTL_CONSTASCII_LENGTH(".UrpProtocolPropertiesTid")), RTL_CONSTASCII_LENGTH(".UrpProtocolPropertiesTid")),
protPropOid_(RTL_CONSTASCII_USTRINGPARAM("UrpProtocolProperties")), protPropOid_("UrpProtocolProperties"),
protPropType_( protPropType_(
cppu::UnoType< cppu::UnoType<
css::uno::Reference< css::bridge::XProtocolProperties > >::get()), css::uno::Reference< css::bridge::XProtocolProperties > >::get()),
......
...@@ -408,8 +408,7 @@ void cc50_solaris_intel_fillUnoException( ...@@ -408,8 +408,7 @@ void cc50_solaris_intel_fillUnoException(
if (pExcTypeDescr == 0) // the thing that should not be if (pExcTypeDescr == 0) // the thing that should not be
{ {
RuntimeException aRE( RuntimeException aRE(
OUString( RTL_CONSTASCII_USTRINGPARAM( "exception type not found: " + aName,
"exception type not found: ") ) + aName,
Reference< XInterface >() ); Reference< XInterface >() );
Type const & rType = ::getCppuType( &aRE ); Type const & rType = ::getCppuType( &aRE );
uno_type_any_constructAndConvert( uno_type_any_constructAndConvert(
......
...@@ -321,7 +321,7 @@ void unoInterfaceProxyDispatch( ...@@ -321,7 +321,7 @@ void unoInterfaceProxyDispatch(
aParam.bOut = sal_False; aParam.bOut = sal_False;
typelib_TypeDescriptionReference * pReturnTypeRef = 0; typelib_TypeDescriptionReference * pReturnTypeRef = 0;
OUString aVoidName( RTL_CONSTASCII_USTRINGPARAM("void") ); OUString aVoidName( "void" );
typelib_typedescriptionreference_new( typelib_typedescriptionreference_new(
&pReturnTypeRef, typelib_TypeClass_VOID, aVoidName.pData ); &pReturnTypeRef, typelib_TypeClass_VOID, aVoidName.pData );
...@@ -394,7 +394,7 @@ void unoInterfaceProxyDispatch( ...@@ -394,7 +394,7 @@ void unoInterfaceProxyDispatch(
default: default:
{ {
::com::sun::star::uno::RuntimeException aExc( ::com::sun::star::uno::RuntimeException aExc(
OUString( RTL_CONSTASCII_USTRINGPARAM("illegal member type description!") ), "illegal member type description!",
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >() ); ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >() );
Type const & rExcType = ::getCppuType( &aExc ); Type const & rExcType = ::getCppuType( &aExc );
......
...@@ -401,8 +401,7 @@ void cc50_solaris_sparc_fillUnoException( ...@@ -401,8 +401,7 @@ void cc50_solaris_sparc_fillUnoException(
if (pExcTypeDescr == 0) // the thing that should not be if (pExcTypeDescr == 0) // the thing that should not be
{ {
RuntimeException aRE( RuntimeException aRE(
OUString( RTL_CONSTASCII_USTRINGPARAM( "exception type not found: " + aName,
"exception type not found: ") ) + aName,
Reference< XInterface >() ); Reference< XInterface >() );
Type const & rType = ::getCppuType( &aRE ); Type const & rType = ::getCppuType( &aRE );
uno_type_any_constructAndConvert( uno_type_any_constructAndConvert(
......
...@@ -299,7 +299,7 @@ void unoInterfaceProxyDispatch( ...@@ -299,7 +299,7 @@ void unoInterfaceProxyDispatch(
aParam.bOut = sal_False; aParam.bOut = sal_False;
typelib_TypeDescriptionReference * pReturnTypeRef = 0; typelib_TypeDescriptionReference * pReturnTypeRef = 0;
OUString aVoidName( RTL_CONSTASCII_USTRINGPARAM("void") ); OUString aVoidName( "void" );
typelib_typedescriptionreference_new( typelib_typedescriptionreference_new(
&pReturnTypeRef, typelib_TypeClass_VOID, aVoidName.pData ); &pReturnTypeRef, typelib_TypeClass_VOID, aVoidName.pData );
...@@ -372,7 +372,7 @@ void unoInterfaceProxyDispatch( ...@@ -372,7 +372,7 @@ void unoInterfaceProxyDispatch(
default: default:
{ {
::com::sun::star::uno::RuntimeException aExc( ::com::sun::star::uno::RuntimeException aExc(
OUString( RTL_CONSTASCII_USTRINGPARAM("illegal member type description!") ), "illegal member type description!",
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >() ); ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >() );
Type const & rExcType = ::getCppuType( &aExc ); Type const & rExcType = ::getCppuType( &aExc );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment