summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-15 11:05:19 +0200
committerNoel Grandin <noel@peralex.com>2013-11-19 10:29:31 +0200
commit610b2b94b33b0fc2d79cd515f9e293ca1c2610e8 (patch)
tree6eab2639cb8104ca54daa3f7a2ebd83ef1566cf0 /sal
parent2c35fff7eca3a143d28dc75e6a73fe1101d2af77 (diff)
remove unnecessary use of OUString constructor when assigning
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
Diffstat (limited to 'sal')
-rw-r--r--sal/test/testbootstrap.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/test/testbootstrap.cxx b/sal/test/testbootstrap.cxx
index 151b03a33cb1..a7eee9a9bfc0 100644
--- a/sal/test/testbootstrap.cxx
+++ b/sal/test/testbootstrap.cxx
@@ -105,12 +105,12 @@ int main( int argc, char *argv[] )
fprintf(stderr, "bootstrap parameter couldn't be found\n");
// test the default case
- name = OUString( "no_one_has_set_this_name" );
+ name = "no_one_has_set_this_name";
OSL_ASSERT( ! bootstrap.getFrom( name, value ) );
result = result && !bootstrap.getFrom( name, value );
- myDefault = OUString( "1" );
- OUString myDefault2 = OUString( "2" );
+ myDefault = "1";
+ OUString myDefault2 = "2";
bootstrap.getFrom( name, value, myDefault );
OSL_ASSERT( value == myDefault );