Bug 172227 - [patch] bugfix for opening external files in new 4.0 views
Summary: [patch] bugfix for opening external files in new 4.0 views
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 4.0   Edit
Assignee: Markus Schorn CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-01-30 15:11 EST by Ed Swartz CLA
Modified: 2008-06-19 23:52 EDT (History)
1 user (show)

See Also:


Attachments
check null IFile and use ITranslationUnit instead (1.48 KB, patch)
2007-01-30 15:12 EST, Ed Swartz CLA
bjorn.freeman-benson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Swartz CLA 2007-01-30 15:11:49 EST
Build ID: 20070129

Steps To Reproduce:
1. Make project with external #include files
2. Open Type Hierarchy, for instance, and select type defined in external file
3. Double click type in tree.  If NPE, FAIL


More information:
Handles case where ITranslation#getFile() is null.
Comment 1 Ed Swartz CLA 2007-01-30 15:12:38 EST
Created attachment 57845 [details]
check null IFile and use ITranslationUnit instead
Comment 2 Markus Schorn CLA 2007-01-31 03:16:41 EST
I have a look.
Comment 3 Markus Schorn CLA 2007-01-31 03:39:54 EST
Thanks, I have applied your patch.
Comment 4 Doug Schaefer CLA 2007-05-13 20:34:48 EDT
Setting to milestone 4.0 so we can generate a report of all bugs fixed in 4.0.
Comment 5 Doug Schaefer CLA 2008-06-03 14:40:02 EDT
assigning
Comment 6 Doug Schaefer CLA 2008-06-03 14:40:29 EDT
done