From 276c7dbb164d52c045faa48e297085876a1e59dd Mon Sep 17 00:00:00 2001 From: Doug Schaefer Date: Fri, 13 Jan 2006 20:20:49 +0000 Subject: [PATCH] Turn off use of the PDOM for open declarations, for now... --- .../internal/ui/search/actions/OpenDeclarationsAction.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/search/actions/OpenDeclarationsAction.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/search/actions/OpenDeclarationsAction.java index 2c10e153b97..aa235dc4b1c 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/search/actions/OpenDeclarationsAction.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/search/actions/OpenDeclarationsAction.java @@ -103,7 +103,7 @@ public class OpenDeclarationsAction extends SelectionParseAction implements IUpd if (project instanceof ICProject) { IProject p = ((ICProject)project).getProject(); - IPDOM pdom = PDOM.getPDOM(p); + IPDOM pdom = null; //PDOM.getPDOM(p); if (pdom != null) tu = CDOM.getInstance().getASTService().getTranslationUnit( input.getStorage(), @@ -125,7 +125,7 @@ public class OpenDeclarationsAction extends SelectionParseAction implements IUpd IWorkingCopy workingCopy = (IWorkingCopy)fEditor.getInputCElement(); IFile resourceFile = (IFile)workingCopy.getResource(); project = new CProject(null, resourceFile.getProject()); - IPDOM pdom = PDOM.getPDOM(resourceFile.getProject()); + IPDOM pdom = null; //PDOM.getPDOM(resourceFile.getProject()); try { if (pdom != null) tu = CDOM.getInstance().getASTService().getTranslationUnit(