diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-03 15:12:26 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-04 08:55:56 +0200 |
commit | 2886f830a9c7871974f9afbc1fdc46bbae468811 (patch) | |
tree | b23c06ab94d5937502cfe0ee29c11aab557193b9 /fpicker | |
parent | c5b995bb09487e2b7626a5920506b07dff390203 (diff) |
idl,framework,forms: inline some use-once typedefs
Change-Id: Icb4908c274ec0778af7ed9fe2d935bf6723fedfb
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/win32/folderpicker/MtaFop.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/fpicker/source/win32/folderpicker/MtaFop.cxx b/fpicker/source/win32/folderpicker/MtaFop.cxx index d832ddf0aa3e..4be8a3ee1dd0 100644 --- a/fpicker/source/win32/folderpicker/MtaFop.cxx +++ b/fpicker/source/win32/folderpicker/MtaFop.cxx @@ -39,9 +39,6 @@ const sal_Bool MANUAL_RESET = sal_True; const sal_Bool AUTO_RESET = sal_False; const sal_Bool INIT_NONSIGNALED = sal_False; -typedef sal::systools::COMReference<IMalloc> IMallocPtr; -typedef sal::systools::COMReference<IShellFolder> IShellFolderPtr; - namespace { const char* FOLDERPICKER_SRV_DLL_NAME = "fps.dll"; @@ -416,7 +413,7 @@ sal_Bool SAL_CALL CMtaFolderPicker::onBrowseForFolder( ) void SAL_CALL CMtaFolderPicker::releaseItemIdList( LPITEMIDLIST lpItemIdList ) { - IMallocPtr pIMalloc; + sal::systools::COMReference<IMalloc> pIMalloc; SHGetMalloc(&pIMalloc); if (pIMalloc.is()) { @@ -437,7 +434,7 @@ LPITEMIDLIST SAL_CALL CMtaFolderPicker::getItemIdListFromPath( const OUString& a LPITEMIDLIST lpItemIdList(NULL); - IShellFolderPtr pIShellFolder; + sal::systools::COMReference<IShellFolder> pIShellFolder; SHGetDesktopFolder(&pIShellFolder); if (pIShellFolder.is()) |