1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Partial Fix for 101287

This commit is contained in:
Bogdan Gheorghe 2005-06-27 03:30:45 +00:00
parent 486931b62c
commit 978d14030d

View file

@ -130,7 +130,7 @@ public class OpenDeclarationsAction extends SelectionParseAction implements IUpd
if (selectedNames.length > 0 && selectedNames[0] != null) { // just right, only one name selected
IASTName searchName = selectedNames[0];
// step 2 starts here
IASTName[] domNames = DOMSearchUtil.getNamesFromDOM(searchName, ICSearchConstants.DECLARATIONS);
IASTName[] domNames = DOMSearchUtil.getNamesFromDOM(searchName, ICSearchConstants.DECLARATIONS_DEFINITIONS);
// make sure the names are clean (fix for 95202)
boolean modified=false;