summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/ftp/ftpcontent.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-09-10 17:40:45 +0200
committerMichael Stahl <mstahl@redhat.com>2015-09-10 17:42:25 +0200
commit0a94746db12fbab5c30c1009912ee910b9f20553 (patch)
tree17ba07b5b8af42d766a07f384cfa7c5e792f9983 /ucb/source/ucp/ftp/ftpcontent.cxx
parent67f4626d079678e125f74fe0897d86341cda272d (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.cxx8
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;
}