1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-30 11:43:33 +02:00

Fix for 70113: Search for Template member declarations causes Assertion

This commit is contained in:
Bogdan Gheorghe 2004-08-16 14:56:24 +00:00
parent 0971af7891
commit 848b4c999b
2 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,6 @@
2004-08-16 Bogdan Gheorghe
Fix for 70113: Search for Template member declarations causes Assertion
2004-08-03 Tanya Wolff
Fix for 71033: English "Find Refs" in Workbench Key preferences.

View file

@ -93,7 +93,7 @@ public class CSearchResultLabelProvider extends LabelProvider {
}
int flags = 0;
ImageDescriptor imageDescriptor = null;
switch( elementType ){
@ -128,9 +128,15 @@ public class CSearchResultLabelProvider extends LabelProvider {
}
break;
}
case ICElement.C_TEMPLATE_CLASS:{
imageDescriptor = CPluginImages.DESC_OBJS_CLASS;
flags |= CElementImageDescriptor.TEMPLATE;
break;
}
}
int flags = 0;
if (match != null){
if( match.isStatic() ) flags |= CElementImageDescriptor.STATIC;