diff options
author | Noel Grandin <noel@peralex.com> | 2013-06-04 17:16:58 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-06-05 08:13:23 +0200 |
commit | 95c0d568fdcd0da939c891d861bb470b28079170 (patch) | |
tree | ca4e4108178ec1176fd1a976df6f31a08d590210 /shell | |
parent | a1afcae81ca3c4b6bb240263b3259090d48c7715 (diff) |
use uno::Reference#clear() method...
...instead of assigning an empty value. Reduces code noise.
Change-Id: Ic95b081a41fb740a738c92b3407a9514ccb8b06e
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/win32/workbench/TestSmplMail.cxx | 1 | ||||
-rw-r--r-- | shell/source/win32/workbench/TestSysShExec.cxx | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/shell/source/win32/workbench/TestSmplMail.cxx b/shell/source/win32/workbench/TestSmplMail.cxx index 1b610bcc9851..f4d6bba45c0a 100644 --- a/shell/source/win32/workbench/TestSmplMail.cxx +++ b/shell/source/win32/workbench/TestSmplMail.cxx @@ -160,7 +160,6 @@ int SAL_CALL main(int , char*, char* ) // Dispose and clear factory xComponent->dispose(); g_xFactory.clear(); - g_xFactory = Reference< XMultiServiceFactory >(); printf("Test successful\n"); diff --git a/shell/source/win32/workbench/TestSysShExec.cxx b/shell/source/win32/workbench/TestSysShExec.cxx index 5bdb6bf19315..9a2d84cd0717 100644 --- a/shell/source/win32/workbench/TestSysShExec.cxx +++ b/shell/source/win32/workbench/TestSysShExec.cxx @@ -132,7 +132,6 @@ int SAL_CALL main(int nArgc, char* Argv[], char* ) // Dispose and clear factory xComponent->dispose(); g_xFactory.clear(); - g_xFactory = Reference< XMultiServiceFactory >(); printf("Test successful\n"); |