summaryrefslogtreecommitdiff
path: root/sd
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 /sd
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 'sd')
-rw-r--r--sd/source/filter/html/pubdlg.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/filter/html/pubdlg.cxx b/sd/source/filter/html/pubdlg.cxx
index e3dee04acf1b..a926105d31c6 100644
--- a/sd/source/filter/html/pubdlg.cxx
+++ b/sd/source/filter/html/pubdlg.cxx
@@ -1513,8 +1513,7 @@ void SdPublishingDlg::Load()
// check if file exists, SfxMedium shows an errorbox else
{
- 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);