summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-08-16 14:59:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-08-16 14:59:30 +0200
commit38ff65644f38f631239f36f85877e3b134dfc4e2 (patch)
tree7e198f5b0ffadfed894a51e0432a28b03bb7bf97 /cui
parent9e3c49f4449519680f2b149c71367f44dfa7736f (diff)
Remove unnecessary UcbStreamHelper::CreateStream overload
...with an explicit XInteractionHandler, but which was only ever called with a null XInteractionHandler, so could just as well call the overload that doesn't specify one (but internally uses a special SimpleFilaAccessInteraction handler since f60eaab748add19683e66c7e4bc073c9ce7887f7 "Related: tdf#99312, add specialized interaction handler", which is probably also what is wanted for these two calls to UcbStreamHelper::CreateStream in cui and sd). Change-Id: I2bf7bebd32f1c06b7414a4646631a19b689ee52f
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/hldocntp.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/dialogs/hldocntp.cxx b/cui/source/dialogs/hldocntp.cxx
index 2545c726f4fd..d7d56760d304 100644
--- a/cui/source/dialogs/hldocntp.cxx
+++ b/cui/source/dialogs/hldocntp.cxx
@@ -313,8 +313,7 @@ void SvxHyperlinkNewDocTp::DoApply ()
// check if file exists, warn before we overwrite it
{
- css::uno::Reference < css::task::XInteractionHandler > xHandler;
- SvStream* pIStm = ::utl::UcbStreamHelper::CreateStream( aURL.GetMainURL( INetURLObject::NO_DECODE ), StreamMode::READ, xHandler );
+ SvStream* pIStm = ::utl::UcbStreamHelper::CreateStream( aURL.GetMainURL( INetURLObject::NO_DECODE ), StreamMode::READ );
bool bOk = pIStm && ( pIStm->GetError() == 0);