summaryrefslogtreecommitdiff
path: root/bridges
diff options
context:
space:
mode:
authorKrisztian Pinter <pin.terminator@gmail.com>2013-02-18 15:10:30 +0100
committerOlivier Hallot <olivier.hallot@alta.org.br>2013-02-19 22:11:16 +0000
commitf6edfefd53caf7e4aa6c2b39cdaf666ad54884c3 (patch)
tree786b0546b4ddeb3014f93abcba874800b96490d5 /bridges
parentd1ba2cd612a4c39976e2980c7dc4e3fa38c88470 (diff)
RTL_CONSTASCII_USTRINGPARAM removals
Change-Id: Ib483f271d3c826a2b7192b22a174ff9f7b18c3f8 Reviewed-on: https://gerrit.libreoffice.org/2241 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
Diffstat (limited to 'bridges')
-rw-r--r--bridges/source/cpp_uno/cc50_solaris_intel/except.cxx3
-rw-r--r--bridges/source/cpp_uno/cc50_solaris_intel/uno2cpp.cxx4
-rw-r--r--bridges/source/cpp_uno/cc50_solaris_sparc/except.cxx3
-rw-r--r--bridges/source/cpp_uno/cc50_solaris_sparc/uno2cpp.cxx4
4 files changed, 6 insertions, 8 deletions
diff --git a/bridges/source/cpp_uno/cc50_solaris_intel/except.cxx b/bridges/source/cpp_uno/cc50_solaris_intel/except.cxx
index f7c5514d7f58..36bd7a689d92 100644
--- a/bridges/source/cpp_uno/cc50_solaris_intel/except.cxx
+++ b/bridges/source/cpp_uno/cc50_solaris_intel/except.cxx
@@ -408,8 +408,7 @@ void cc50_solaris_intel_fillUnoException(
if (pExcTypeDescr == 0) // the thing that should not be
{
RuntimeException aRE(
- OUString( RTL_CONSTASCII_USTRINGPARAM(
- "exception type not found: ") ) + aName,
+ "exception type not found: " + aName,
Reference< XInterface >() );
Type const & rType = ::getCppuType( &aRE );
uno_type_any_constructAndConvert(
diff --git a/bridges/source/cpp_uno/cc50_solaris_intel/uno2cpp.cxx b/bridges/source/cpp_uno/cc50_solaris_intel/uno2cpp.cxx
index 32330cc63b4b..85a59654ebcf 100644
--- a/bridges/source/cpp_uno/cc50_solaris_intel/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/cc50_solaris_intel/uno2cpp.cxx
@@ -321,7 +321,7 @@ void unoInterfaceProxyDispatch(
aParam.bOut = sal_False;
typelib_TypeDescriptionReference * pReturnTypeRef = 0;
- OUString aVoidName( RTL_CONSTASCII_USTRINGPARAM("void") );
+ OUString aVoidName( "void" );
typelib_typedescriptionreference_new(
&pReturnTypeRef, typelib_TypeClass_VOID, aVoidName.pData );
@@ -394,7 +394,7 @@ void unoInterfaceProxyDispatch(
default:
{
::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 >() );
Type const & rExcType = ::getCppuType( &aExc );
diff --git a/bridges/source/cpp_uno/cc50_solaris_sparc/except.cxx b/bridges/source/cpp_uno/cc50_solaris_sparc/except.cxx
index 56de9c4b5217..ebb0918a15ef 100644
--- a/bridges/source/cpp_uno/cc50_solaris_sparc/except.cxx
+++ b/bridges/source/cpp_uno/cc50_solaris_sparc/except.cxx
@@ -401,8 +401,7 @@ void cc50_solaris_sparc_fillUnoException(
if (pExcTypeDescr == 0) // the thing that should not be
{
RuntimeException aRE(
- OUString( RTL_CONSTASCII_USTRINGPARAM(
- "exception type not found: ") ) + aName,
+ "exception type not found: " + aName,
Reference< XInterface >() );
Type const & rType = ::getCppuType( &aRE );
uno_type_any_constructAndConvert(
diff --git a/bridges/source/cpp_uno/cc50_solaris_sparc/uno2cpp.cxx b/bridges/source/cpp_uno/cc50_solaris_sparc/uno2cpp.cxx
index 20142dc54fdf..6fad40bfd33f 100644
--- a/bridges/source/cpp_uno/cc50_solaris_sparc/uno2cpp.cxx
+++ b/bridges/source/cpp_uno/cc50_solaris_sparc/uno2cpp.cxx
@@ -299,7 +299,7 @@ void unoInterfaceProxyDispatch(
aParam.bOut = sal_False;
typelib_TypeDescriptionReference * pReturnTypeRef = 0;
- OUString aVoidName( RTL_CONSTASCII_USTRINGPARAM("void") );
+ OUString aVoidName( "void" );
typelib_typedescriptionreference_new(
&pReturnTypeRef, typelib_TypeClass_VOID, aVoidName.pData );
@@ -372,7 +372,7 @@ void unoInterfaceProxyDispatch(
default:
{
::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 >() );
Type const & rExcType = ::getCppuType( &aExc );