-#ifdef ICON_TO_DEBUG
- if (myIsConflicting) {
- if (myErrorIcon.IsNull()) {
- char* aEnv = getenv("NEWGEOM_ROOT_DIR");
- if (aEnv != NULL) {
- TCollection_AsciiString aFile(aEnv);
- aFile+=FSEP;
- aFile+="resources";
- aFile += FSEP;
- aFile += "conflicting_icon.png";
- Handle(Image_AlienPixMap) aPixMap = new Image_AlienPixMap();
- if (aPixMap->Load(aFile)) {
- myErrorIcon = aPixMap;
- }
- }
- }
- return myErrorIcon;
- }
-#endif
-