mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 12:04:51 +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,
|
HRESULT CShellBrowser::BrowseToPath(IShellFolder *newShellFolder,
|
||||||
LPCITEMIDLIST absolutePIDL, FOLDERSETTINGS *folderSettings, long flags)
|
LPCITEMIDLIST absolutePIDL, FOLDERSETTINGS *folderSettings, long flags)
|
||||||
{
|
{
|
||||||
CComPtr<IObjectWithSite> objectWithSite;
|
|
||||||
CComPtr<IShellFolder> saveCurrentShellFolder;
|
CComPtr<IShellFolder> saveCurrentShellFolder;
|
||||||
CComPtr<IShellView> saveCurrentShellView;
|
CComPtr<IShellView> saveCurrentShellView;
|
||||||
CComPtr<IShellView> newShellView;
|
CComPtr<IShellView> newShellView;
|
||||||
|
@ -989,9 +988,6 @@ HRESULT CShellBrowser::BrowseToPath(IShellFolder *newShellFolder,
|
||||||
return hResult;
|
return hResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (objectWithSite.p != NULL)
|
|
||||||
hResult = objectWithSite->SetSite(NULL);
|
|
||||||
|
|
||||||
// update current pidl
|
// update current pidl
|
||||||
ILFree(fCurrentDirectoryPIDL);
|
ILFree(fCurrentDirectoryPIDL);
|
||||||
fCurrentDirectoryPIDL = ILClone(absolutePIDL);
|
fCurrentDirectoryPIDL = ILClone(absolutePIDL);
|
||||||
|
|
Loading…
Reference in a new issue