summaryrefslogtreecommitdiffstats
path: root/testtools
diff options
context:
space:
mode:
Diffstat (limited to 'testtools')
-rw-r--r--testtools/source/performance/ubtest.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/testtools/source/performance/ubtest.cxx b/testtools/source/performance/ubtest.cxx
index f08a0f92d909..96b895ce82fe 100644
--- a/testtools/source/performance/ubtest.cxx
+++ b/testtools/source/performance/ubtest.cxx
@@ -978,11 +978,11 @@ sal_Int32 TestImpl::run( const Sequence< OUString > & rArgs )
OUString aLogStr( extractParam( rArgs, OUString("log") ) );
if (aLogStr.getLength())
{
- if (aLogStr.compareToAscii( "stderr" ) == 0)
+ if (aLogStr.equalsAscii( "stderr" ) )
{
stream = stderr;
}
- else if (aLogStr.compareToAscii( "stdout" ) == 0)
+ else if (aLogStr.equalsAscii( "stdout" ) )
{
stream = stdout;
}