revert last two commits for bug 9642. A different fix is needed.
--- a/core/com.nokia.carbide.cpp.ui/src/com/nokia/carbide/cpp/internal/ui/images/FileImageModel.java Tue Aug 18 11:47:39 2009 -0500
+++ b/core/com.nokia.carbide.cpp.ui/src/com/nokia/carbide/cpp/internal/ui/images/FileImageModel.java Tue Aug 18 14:13:23 2009 -0500
@@ -60,10 +60,6 @@
? basePath.append(filePath) : filePath;
}
- if (this.sourceLocation != null && this.sourceLocation.getDevice() == null){
- this.sourceLocation = this.sourceLocation.setDevice(basePath.getDevice());
- }
-
}
/**
--- a/core/com.nokia.carbide.cpp.ui/src/com/nokia/carbide/cpp/internal/ui/images/MaskedFileImageModel.java Tue Aug 18 11:47:39 2009 -0500
+++ b/core/com.nokia.carbide.cpp.ui/src/com/nokia/carbide/cpp/internal/ui/images/MaskedFileImageModel.java Tue Aug 18 14:13:23 2009 -0500
@@ -62,9 +62,6 @@
else
maskSourceLocation = basePath.append(maskPath);
}
- if (maskSourceLocation != null && maskSourceLocation.getDevice() == null){
- maskSourceLocation = maskSourceLocation.setDevice(basePath.getDevice());
- }
}
/**
@@ -84,9 +81,6 @@
else
maskSourceLocation = basePath.append(maskPath);
}
- if (maskSourceLocation != null && maskSourceLocation.getDevice() == null){
- maskSourceLocation = maskSourceLocation.setDevice(basePath.getDevice());
- }
}