1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

This mini-patch gets rid of unnecessary "could not locate type" error

dialogs.
This commit is contained in:
Alain Magloire 2004-06-21 22:00:30 +00:00
parent 624efe28c4
commit 8102e0ee93
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-06-21 Chris Wiebe
This mini-patch gets rid of unnecessary "could not locate type" error
dialogs.
2004-06-21 Chris Wiebe 2004-06-21 Chris Wiebe
- fix for bug #66108 (C++ browser cannot show members of class) - fix for bug #66108 (C++ browser cannot show members of class)

View file

@ -186,7 +186,7 @@ class MembersViewContentProvider extends CBrowsingContentProvider {
if (location != null) if (location != null)
elem = info.getCElement(); elem = info.getCElement();
if (elem == null) { if (location == null) {
// could not resolve location // could not resolve location
String title = OpenTypeMessages.getString("OpenTypeAction.errorTitle"); //$NON-NLS-1$ String title = OpenTypeMessages.getString("OpenTypeAction.errorTitle"); //$NON-NLS-1$
String message = OpenTypeMessages.getFormattedString("OpenTypeAction.errorTypeNotFound", info.getQualifiedTypeName().toString()); //$NON-NLS-1$ String message = OpenTypeMessages.getFormattedString("OpenTypeAction.errorTypeNotFound", info.getQualifiedTypeName().toString()); //$NON-NLS-1$