summaryrefslogtreecommitdiff
path: root/bridges/test
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-19 11:39:07 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-03-19 10:48:30 +0000
commit39d45390f4fab1e9e85f211d74ed2c08fda5b652 (patch)
treeac4b224a66a18429cd4722a61ee3d401f8e9951c /bridges/test
parent5c908d0431ee975c1ee7aa245af83b9eb7f95da6 (diff)
removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarations
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'bridges/test')
-rw-r--r--bridges/test/java_uno/acquire/testacquire.cxx2
-rw-r--r--bridges/test/java_uno/equals/testequals.cxx2
-rw-r--r--bridges/test/performance/testperformance.cxx2
-rw-r--r--bridges/test/testcomp.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/bridges/test/java_uno/acquire/testacquire.cxx b/bridges/test/java_uno/acquire/testacquire.cxx
index 47a2a0bd0767..a0f5ef65cd91 100644
--- a/bridges/test/java_uno/acquire/testacquire.cxx
+++ b/bridges/test/java_uno/acquire/testacquire.cxx
@@ -517,7 +517,7 @@ namespace {
bool writeInfo(void * registryKey, rtl::OUString const & implementationName,
css::uno::Sequence< rtl::OUString > const & serviceNames) {
- rtl::OUString keyName( RTL_CONSTASCII_USTRINGPARAM( "/" ));
+ rtl::OUString keyName( "/" );
keyName += implementationName;
keyName += rtl::OUString( "/UNO/SERVICES" );
css::uno::Reference< css::registry::XRegistryKey > key;
diff --git a/bridges/test/java_uno/equals/testequals.cxx b/bridges/test/java_uno/equals/testequals.cxx
index dc3936f77f80..5c274934465c 100644
--- a/bridges/test/java_uno/equals/testequals.cxx
+++ b/bridges/test/java_uno/equals/testequals.cxx
@@ -177,7 +177,7 @@ namespace {
bool writeInfo(void * pRegistryKey, sal_Char const * pImplementationName,
css::uno::Sequence< rtl::OUString > const & rServiceNames)
{
- rtl::OUString aKeyName( RTL_CONSTASCII_USTRINGPARAM( "/" ));
+ rtl::OUString aKeyName( "/" );
aKeyName += rtl::OUString::createFromAscii(pImplementationName);
aKeyName += rtl::OUString( "/UNO/SERVICES" );
css::uno::Reference< css::registry::XRegistryKey > xKey;
diff --git a/bridges/test/performance/testperformance.cxx b/bridges/test/performance/testperformance.cxx
index 36102aca31c4..75d12ad17d44 100644
--- a/bridges/test/performance/testperformance.cxx
+++ b/bridges/test/performance/testperformance.cxx
@@ -171,7 +171,7 @@ void main()
MyTimer timer( "performance - 1000*1000 unicode string construction/destruction" );
for( int i = 0 ; i < 1000*1000 ; i ++ )
{
- OUString textEnc( RTL_CONSTASCII_USTRINGPARAM( "this is a test string" ) );
+ OUString textEnc( "this is a test string" );
}
}
diff --git a/bridges/test/testcomp.cxx b/bridges/test/testcomp.cxx
index 21eadd91b100..08248b0952fe 100644
--- a/bridges/test/testcomp.cxx
+++ b/bridges/test/testcomp.cxx
@@ -672,7 +672,7 @@ void testRemote( const Reference< XInterface > &rRemote )
//--------------------
// Test attributes
//----------------------
- OUString ow( RTL_CONSTASCII_USTRINGPARAM( "dum didel dum dideldei" ));
+ OUString ow( "dum didel dum dideldei" );
rLCallMe->setsAttribute( ow );
OSL_ASSERT( rLCallMe->getsAttribute() == ow );