diff options
author | Noel Grandin <noel@peralex.com> | 2013-10-25 17:35:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-04 10:11:08 +0200 |
commit | 5285beeaa49f6678b471d472868c305c7d9da5f9 (patch) | |
tree | a3dbd28995142ab16b448f28e95821115ef5408f /io | |
parent | aeb41c9b9b7559c6d87bf92807acdc0df9e104cc (diff) |
remove redundant calls to OUString constructor in if expression
Convert code like:
if( aStr == OUString("xxxx") )
to this:
if( aStr == "xxxx" )
Change-Id: I8d201f048477731eff590fb988259ef0935c080c
Diffstat (limited to 'io')
-rw-r--r-- | io/test/stm/datatest.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io/test/stm/datatest.cxx b/io/test/stm/datatest.cxx index d7063dec0f4f..3e80f09e382e 100644 --- a/io/test/stm/datatest.cxx +++ b/io/test/stm/datatest.cxx @@ -276,7 +276,7 @@ void ODataStreamTest::testSimple( const Reference < XDataInputStream > &rInput ERROR_ASSERT( rInput->readHyper() == 0x123456789abcdefLL , "int64 read/write mismatch" ); rOutput->writeUTF( OUString("Live long and prosper !") ); - ERROR_ASSERT( rInput->readUTF() == OUString("Live long and prosper !") , + ERROR_ASSERT( rInput->readUTF() == "Live long and prosper !", "UTF read/write mismatch" ); Sequence<sal_Unicode> wc(0x10001); |