summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-05 09:05:29 +0200
committerNoel Grandin <noel@peralex.com>2015-11-05 09:59:30 +0200
commit1c3d3ffa81d1a451b5a694cff022df3c5c94ba8e (patch)
tree08f3672567dba72161354624743c046cd2cb081b /shell
parentc8782b39116eee3ddc3ef0a38c6f6dde09b6ec00 (diff)
use uno::Reference::set method instead of assignment
Change-Id: Ib93d762cf523e0029bbed16e08beebd9f418ae24
Diffstat (limited to 'shell')
-rw-r--r--shell/source/win32/simplemail/smplmailsuppl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/win32/simplemail/smplmailsuppl.cxx b/shell/source/win32/simplemail/smplmailsuppl.cxx
index d363712eb439..495b4bf1ff89 100644
--- a/shell/source/win32/simplemail/smplmailsuppl.cxx
+++ b/shell/source/win32/simplemail/smplmailsuppl.cxx
@@ -64,7 +64,7 @@ Reference<XSimpleMailClient> SAL_CALL CSmplMailSuppl::querySimpleMailClient()
if ((handle != INVALID_HANDLE_VALUE) && (handle != NULL))
{
FreeLibrary(handle);
- xSmplMailClient = Reference<XSimpleMailClient>(new CSmplMailClient());
+ xSmplMailClient.set(new CSmplMailClient());
}
return xSmplMailClient;
}