mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
bug 239804: CDT spelling errors
This commit is contained in:
parent
99da99fdd1
commit
40fee88bac
1 changed files with 6 additions and 6 deletions
|
@ -70,13 +70,13 @@ public abstract class AbstractCExtensionProxy implements ICProjectDescriptionLis
|
|||
synchronized(this){
|
||||
if(recreate || rescan || !fInited){
|
||||
ICExtensionReference ref = null;
|
||||
boolean newStile = true;
|
||||
boolean newStyle = true;
|
||||
ICConfigurationDescription cfg = null;
|
||||
if(des != null){
|
||||
cfg = des.getDefaultSettingConfiguration();
|
||||
if(cfg != null){
|
||||
ref = getRef(cfg, false);
|
||||
newStile = CProjectDescriptionManager.getInstance().isNewStyleCfg(cfg);
|
||||
newStyle = CProjectDescriptionManager.getInstance().isNewStyleCfg(cfg);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -92,9 +92,9 @@ public abstract class AbstractCExtensionProxy implements ICProjectDescriptionLis
|
|||
}
|
||||
|
||||
if(newProvider == null){
|
||||
if(recreate || fProvider == null || newStile != fIsNewStyle){
|
||||
newStile = isNewStyleCfg(cfg);
|
||||
newProvider = createDefaultProvider(cfg, newStile);
|
||||
if(recreate || fProvider == null || newStyle != fIsNewStyle){
|
||||
newStyle = isNewStyleCfg(cfg);
|
||||
newProvider = createDefaultProvider(cfg, newStyle);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -108,7 +108,7 @@ public abstract class AbstractCExtensionProxy implements ICProjectDescriptionLis
|
|||
if(ref != null)
|
||||
fExtId = ref.getID();
|
||||
|
||||
fIsNewStyle = newStile;
|
||||
fIsNewStyle = newStyle;
|
||||
|
||||
initializeProvider(fProvider);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue