diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-09-10 17:40:45 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-09-10 17:42:25 +0200 |
commit | 0a94746db12fbab5c30c1009912ee910b9f20553 (patch) | |
tree | 17ba07b5b8af42d766a07f384cfa7c5e792f9983 /ucb/source/ucp/ftp/ftpcontent.cxx | |
parent | 67f4626d079678e125f74fe0897d86341cda272d (diff) |
ucb: fix another duplicate WeakImplHelper<XInteractionRequest>
Change-Id: I0728601cd7abd8f8d718728d5983aed94355bdc0
Diffstat (limited to 'ucb/source/ucp/ftp/ftpcontent.cxx')
-rw-r--r-- | ucb/source/ucp/ftp/ftpcontent.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/ucp/ftp/ftpcontent.cxx b/ucb/source/ucp/ftp/ftpcontent.cxx index 442fe1ddf434..c150284a6fe4 100644 --- a/ucb/source/ucp/ftp/ftpcontent.cxx +++ b/ucb/source/ucp/ftp/ftpcontent.cxx @@ -803,10 +803,10 @@ void FTPContent::insert(const InsertCommandArgument& aInsertCommand, ucbhelper::cancelCommandExecution(aAny,Env); } - XInteractionRequestImpl* p = new XInteractionRequestImpl; - Reference<XInteractionRequest> req(p); - xInt->handle(req); - if(p->approved()) { + XInteractionRequestImpl request; + Reference<XInteractionRequest> xReq(request.getRequest()); + xInt->handle(xReq); + if (request.approved()) { bReplace = true; goto retry; } |