From 1c3d3ffa81d1a451b5a694cff022df3c5c94ba8e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 5 Nov 2015 09:05:29 +0200 Subject: use uno::Reference::set method instead of assignment Change-Id: Ib93d762cf523e0029bbed16e08beebd9f418ae24 --- shell/source/win32/simplemail/smplmailsuppl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') 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 SAL_CALL CSmplMailSuppl::querySimpleMailClient() if ((handle != INVALID_HANDLE_VALUE) && (handle != NULL)) { FreeLibrary(handle); - xSmplMailClient = Reference(new CSmplMailClient()); + xSmplMailClient.set(new CSmplMailClient()); } return xSmplMailClient; } -- cgit v1.2.3