mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Use getResource() instead of getUnderlyingResource()
This commit is contained in:
parent
18d581e6e5
commit
60a4b8b83a
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ public class CElementAdapterFactory implements IAdapterFactory {
|
|||
if (res != null)
|
||||
return res.getProject();
|
||||
} else if (IResource.class.equals(key)) {
|
||||
return celem.getUnderlyingResource();
|
||||
return celem.getResource();
|
||||
} else if (IWorkbenchAdapter.class.equals(key)) {
|
||||
return fgCWorkbenchAdapter;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue