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 /vbahelper | |
parent | 9c8fd7d1c5553e1e50dba7c7c32ef15fcdb0b49d (diff) |
Clean up emptyString
Change-Id: I5350322e5c957127fe125e633b31b2492410995e
Diffstat (limited to 'vbahelper')
-rw-r--r-- | vbahelper/source/vbahelper/vbahelper.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vbahelper/source/vbahelper/vbahelper.cxx b/vbahelper/source/vbahelper/vbahelper.cxx index 50abee207121..aa72b3cd1de4 100644 --- a/vbahelper/source/vbahelper/vbahelper.cxx +++ b/vbahelper/source/vbahelper/vbahelper.cxx @@ -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); |