correct _com_ptr usage
Modified: trunk/reactos/subsys/system/explorer/shell/shellbrowser.cpp
Modified: trunk/reactos/subsys/system/explorer/shell/shellbrowser.h

Modified: trunk/reactos/subsys/system/explorer/shell/shellbrowser.cpp
--- trunk/reactos/subsys/system/explorer/shell/shellbrowser.cpp	2005-11-29 11:44:04 UTC (rev 19748)
+++ trunk/reactos/subsys/system/explorer/shell/shellbrowser.cpp	2005-11-29 12:54:54 UTC (rev 19749)
@@ -558,7 +558,7 @@
 
 	update_shell_browser();
 
-	if (&*_shellBrowser)
+	if (_shellBrowser.get())
 		if (_left_hwnd)
 			_shellBrowser->Init(_himlSmall);
 		else

Modified: trunk/reactos/subsys/system/explorer/shell/shellbrowser.h
--- trunk/reactos/subsys/system/explorer/shell/shellbrowser.h	2005-11-29 11:44:04 UTC (rev 19748)
+++ trunk/reactos/subsys/system/explorer/shell/shellbrowser.h	2005-11-29 12:54:54 UTC (rev 19749)
@@ -237,7 +237,7 @@
 
 	int Notify(int id, NMHDR* pnmh)
 	{
-		if (&*_shellBrowser)
+		if (_shellBrowser.get())
 			switch(pnmh->code) {
 			  case TVN_GETDISPINFO:		_shellBrowser->OnTreeGetDispInfo(id, pnmh);					break;
 			  case TVN_SELCHANGED:		_shellBrowser->OnTreeItemSelected(id, (LPNMTREEVIEW)pnmh);	break;