mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[BROWSEUI] Remove refactoring leftovers
This commit is contained in:
parent
5bb36e92c5
commit
7b17d8d900
1 changed files with 0 additions and 4 deletions
|
@ -913,7 +913,6 @@ long IEGetNameAndFlags(LPITEMIDLIST pidl, SHGDNF uFlags, LPWSTR pszBuf, UINT cch
|
|||
HRESULT CShellBrowser::BrowseToPath(IShellFolder *newShellFolder,
|
||||
LPCITEMIDLIST absolutePIDL, FOLDERSETTINGS *folderSettings, long flags)
|
||||
{
|
||||
CComPtr<IObjectWithSite> objectWithSite;
|
||||
CComPtr<IShellFolder> saveCurrentShellFolder;
|
||||
CComPtr<IShellView> saveCurrentShellView;
|
||||
CComPtr<IShellView> newShellView;
|
||||
|
@ -989,9 +988,6 @@ HRESULT CShellBrowser::BrowseToPath(IShellFolder *newShellFolder,
|
|||
return hResult;
|
||||
}
|
||||
|
||||
if (objectWithSite.p != NULL)
|
||||
hResult = objectWithSite->SetSite(NULL);
|
||||
|
||||
// update current pidl
|
||||
ILFree(fCurrentDirectoryPIDL);
|
||||
fCurrentDirectoryPIDL = ILClone(absolutePIDL);
|
||||
|
|
Loading…
Reference in a new issue