[commit] r2752 - trunk/GME/Search

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Mon Jul 9 13:55:29 CDT 2018


Author: ksmyth
Date: Mon Jul  9 13:55:29 2018
New Revision: 2752

Log:
Remove dead code

Modified:
   trunk/GME/Search/Input.cpp
   trunk/GME/Search/Input.h
   trunk/GME/Search/SearchDlg.cpp

Modified: trunk/GME/Search/Input.cpp
==============================================================================
--- trunk/GME/Search/Input.cpp	Mon Jul  9 13:55:25 2018	(r2751)
+++ trunk/GME/Search/Input.cpp	Mon Jul  9 13:55:29 2018	(r2752)
@@ -32,7 +32,6 @@
 //Get the search criterias
 void CInput::GetInput(CString strNameFirst, CString strRoleFirst, CString strKindFirst, CString strAttributeFirst,CString strNameSecond,CString strRoleSecond,CString strKindSecond,CString strAttributeSecond,
                       CString attrval, BOOL mod, BOOL atom, BOOL ref, BOOL set,BOOL connection,BOOL splSearch, BOOL full, 
-                      IMgaFCO*, int, //WAS: IMgaFCO *root, int searchscope,
                       BOOL bMatchCase, int scopedSearch,int logicalExpr)
 {
     //doScopedSearch = bScopedSearch;

Modified: trunk/GME/Search/Input.h
==============================================================================
--- trunk/GME/Search/Input.h	Mon Jul  9 13:55:25 2018	(r2751)
+++ trunk/GME/Search/Input.h	Mon Jul  9 13:55:29 2018	(r2752)
@@ -31,7 +31,6 @@
 
 	void CInput::GetInput(CString strNameFirst, CString strRoleFirst, CString strKindFirst, CString strAttributeFirst,CString strNameSecond,CString strRoleSecond,CString strKindSecond,CString strAttributeSecond,
                       CString attrval, BOOL mod, BOOL atom, BOOL ref, BOOL set,BOOL connection,BOOL splSearch, BOOL full, 
-                      IMgaFCO*, int, //WAS: IMgaFCO *root, int searchscope,
                       BOOL bMatchCase, int scopedSearch,int logicalExpr);
 
     //Getter methods

Modified: trunk/GME/Search/SearchDlg.cpp
==============================================================================
--- trunk/GME/Search/SearchDlg.cpp	Mon Jul  9 13:55:25 2018	(r2751)
+++ trunk/GME/Search/SearchDlg.cpp	Mon Jul  9 13:55:29 2018	(r2752)
@@ -316,7 +316,7 @@
         {
             //this might throw error related to regular expression
             inp.GetInput(m_edtNameFirst,m_edtRoleNameFirst,m_edtKindNameFirst,m_edtAttributeFirst,m_edtNameSecond,m_edtRoleNameSecond,m_edtKindNameSecond,m_edtAttributeSecond,m_edtAttrValue,
-            m_chkMod,m_chkAtom,m_chkRef,m_chkSet,m_chkConnection,m_chkSplSearch,m_chkFullWord,NULL,0,m_chkMatchCase,m_radioScope,m_radioLogical);
+            m_chkMod,m_chkAtom,m_chkRef,m_chkSet,m_chkConnection,m_chkSplSearch,m_chkFullWord,m_chkMatchCase,m_radioScope,m_radioLogical);
 
 			if (results == NULL)
 				COMTHROW(results.CoCreateInstance(L"Mga.MgaFCOs"));
@@ -1027,7 +1027,7 @@
     COMTHROW(new_results.CoCreateInstance(L"Mga.MgaFCOs"));;
     CInput inp;
     inp.GetInput(m_edtNameFirst,m_edtRoleNameFirst,m_edtKindNameFirst,m_edtAttributeFirst,m_edtNameSecond,m_edtRoleNameSecond,m_edtKindNameSecond,m_edtAttributeSecond,m_edtAttrValue,
-        m_chkMod,m_chkAtom,m_chkRef,m_chkSet,m_chkConnection,m_chkSplSearch,m_chkFullWord,NULL,0,m_chkMatchCase,m_radioScope,m_radioLogical
+        m_chkMod,m_chkAtom,m_chkRef,m_chkSet,m_chkConnection,m_chkSplSearch,m_chkFullWord,m_chkMatchCase,m_radioScope,m_radioLogical
         );
 
     CSearch searchGME(inp);


More information about the gme-commit mailing list