diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-26 23:03:58 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-27 08:00:33 +0200 |
commit | 336d9a01d779510752af7ea84aba7cb95e1cb4b8 (patch) | |
tree | ae8c46262687d916d5144768df1b31514e8abe01 /sax | |
parent | 9c8fd7d1c5553e1e50dba7c7c32ef15fcdb0b49d (diff) |
Clean up emptyString
Change-Id: I5350322e5c957127fe125e633b31b2492410995e
Diffstat (limited to 'sax')
-rw-r--r-- | sax/test/sax/testwriter.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sax/test/sax/testwriter.cxx b/sax/test/sax/testwriter.cxx index f078ea88d741..752cedc2d121 100644 --- a/sax/test/sax/testwriter.cxx +++ b/sax/test/sax/testwriter.cxx @@ -657,7 +657,6 @@ void OSaxWriterTest::testPerformance(const Reference< XExtendedDocumentHandler // for performance testing sal_Int32 i2; OUString huhu( "huhu" ); - OUString emptyString; const int ITERATIONS = 125; for( i2 = 0 ; i2 < ITERATIONS ; i2 ++ ) { @@ -665,17 +664,17 @@ void OSaxWriterTest::testPerformance(const Reference< XExtendedDocumentHandler OUString::valueOf( i2 ), rList ); for( sal_Int32 i = 0 ; i < 450 ; i ++ ) { - r->ignorableWhitespace( emptyString ); + r->ignorableWhitespace( "" ); r->startElement( huhu , rList ); r->characters( testParagraph ); - r->ignorableWhitespace( emptyString ); + r->ignorableWhitespace( "" ); r->endElement( huhu ); } } for( i2 = ITERATIONS-1 ; i2 >= 0 ; i2-- ) { - r->ignorableWhitespace( emptyString ); + r->ignorableWhitespace( "" ); r->endElement( OUString( "tag" ) + OUString::valueOf( i2 ) ); } |