Clean up emptyString
Change-Id: I5350322e5c957127fe125e633b31b2492410995e
This commit is contained in:
@@ -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 ) );
|
||||
}
|
||||
|
||||
|
@@ -140,7 +140,6 @@ dispatchRequests (const uno::Reference< frame::XModel>& xModel, const OUString &
|
||||
{
|
||||
util::URL url;
|
||||
url.Complete = aUrl;
|
||||
OUString emptyString( "" );
|
||||
uno::Reference<frame::XController> xController = xModel->getCurrentController();
|
||||
uno::Reference<frame::XFrame> xFrame = xController->getFrame();
|
||||
uno::Reference<frame::XDispatchProvider> xDispatchProvider (xFrame,uno::UNO_QUERY_THROW);
|
||||
@@ -156,7 +155,7 @@ dispatchRequests (const uno::Reference< frame::XModel>& xModel, const OUString &
|
||||
return;
|
||||
}
|
||||
|
||||
uno::Reference<frame::XDispatch> xDispatcher = xDispatchProvider->queryDispatch(url,emptyString,0);
|
||||
uno::Reference<frame::XDispatch> xDispatcher = xDispatchProvider->queryDispatch(url,"",0);
|
||||
|
||||
uno::Sequence<beans::PropertyValue> dispatchProps(1);
|
||||
|
||||
|
Reference in New Issue
Block a user