diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-16 17:30:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-16 17:30:51 +0100 |
commit | a11c68174b464317d34409a4171427843680b9c9 (patch) | |
tree | 26f11b0afe4129add68d90022b251e2e7872685a /testtools | |
parent | stoc: Use appropriate OUString functions on string constants (diff) | |
download | core-a11c68174b464317d34409a4171427843680b9c9.tar.gz core-a11c68174b464317d34409a4171427843680b9c9.zip |
testtools: Use appropriate OUString functions on string constants
Change-Id: Iacc67a087321e9cf0f699f4eecb334eb7372b885
Diffstat (limited to 'testtools')
-rw-r--r-- | testtools/source/bridgetest/constructors.cxx | 2 | ||||
-rw-r--r-- | testtools/source/bridgetest/multi.hxx | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/testtools/source/bridgetest/constructors.cxx b/testtools/source/bridgetest/constructors.cxx index 37135da953cf..423306a01167 100644 --- a/testtools/source/bridgetest/constructors.cxx +++ b/testtools/source/bridgetest/constructors.cxx @@ -431,7 +431,7 @@ void Impl2::setatt1( double _att1 )throw (::com::sun::star::uno::RuntimeExceptio OUString Impl2::fn12( const OUString& arg ) throw (::com::sun::star::uno::RuntimeException, std::exception) { - return OUString("12") + arg; + return "12" + arg; } css::uno::Reference< css::uno::XInterface > SAL_CALL create( diff --git a/testtools/source/bridgetest/multi.hxx b/testtools/source/bridgetest/multi.hxx index 0b0ca68d3080..055d09cb9f3a 100644 --- a/testtools/source/bridgetest/multi.hxx +++ b/testtools/source/bridgetest/multi.hxx @@ -50,7 +50,7 @@ public: virtual OUString SAL_CALL fn12(OUString const & arg) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE - { return OUString("12") + arg; } + { return "12" + arg; } virtual sal_Int32 SAL_CALL fn21(sal_Int32 arg) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE @@ -58,7 +58,7 @@ public: virtual OUString SAL_CALL fn22(OUString const & arg) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE - { return OUString("22") + arg; } + { return "22" + arg; } virtual double SAL_CALL getatt3() throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE @@ -74,7 +74,7 @@ public: virtual OUString SAL_CALL fn32(OUString const & arg) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE - { return OUString("32") + arg; } + { return "32" + arg; } virtual sal_Int32 SAL_CALL fn33() throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE @@ -90,7 +90,7 @@ public: virtual OUString SAL_CALL fn62(OUString const & arg) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE - { return OUString("62") + arg; } + { return "62" + arg; } virtual sal_Int32 SAL_CALL fn71(sal_Int32 arg) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE @@ -98,7 +98,7 @@ public: virtual OUString SAL_CALL fn72(OUString const & arg) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE - { return OUString("72") + arg; } + { return "72" + arg; } virtual sal_Int32 SAL_CALL fn73() throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE |