mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-09 11:33:20 +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){
|
synchronized(this){
|
||||||
if(recreate || rescan || !fInited){
|
if(recreate || rescan || !fInited){
|
||||||
ICExtensionReference ref = null;
|
ICExtensionReference ref = null;
|
||||||
boolean newStile = true;
|
boolean newStyle = true;
|
||||||
ICConfigurationDescription cfg = null;
|
ICConfigurationDescription cfg = null;
|
||||||
if(des != null){
|
if(des != null){
|
||||||
cfg = des.getDefaultSettingConfiguration();
|
cfg = des.getDefaultSettingConfiguration();
|
||||||
if(cfg != null){
|
if(cfg != null){
|
||||||
ref = getRef(cfg, false);
|
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(newProvider == null){
|
||||||
if(recreate || fProvider == null || newStile != fIsNewStyle){
|
if(recreate || fProvider == null || newStyle != fIsNewStyle){
|
||||||
newStile = isNewStyleCfg(cfg);
|
newStyle = isNewStyleCfg(cfg);
|
||||||
newProvider = createDefaultProvider(cfg, newStile);
|
newProvider = createDefaultProvider(cfg, newStyle);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -108,7 +108,7 @@ public abstract class AbstractCExtensionProxy implements ICProjectDescriptionLis
|
||||||
if(ref != null)
|
if(ref != null)
|
||||||
fExtId = ref.getID();
|
fExtId = ref.getID();
|
||||||
|
|
||||||
fIsNewStyle = newStile;
|
fIsNewStyle = newStyle;
|
||||||
|
|
||||||
initializeProvider(fProvider);
|
initializeProvider(fProvider);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue