revert last two commits for bug 9642. A different fix is needed.
authortimkelly
Tue, 18 Aug 2009 14:13:23 -0500
changeset 448 f67171885c66
parent 447 5018b19f0952
child 449 9a710b372c86
revert last two commits for bug 9642. A different fix is needed.
core/com.nokia.carbide.cpp.ui/src/com/nokia/carbide/cpp/internal/ui/images/FileImageModel.java
core/com.nokia.carbide.cpp.ui/src/com/nokia/carbide/cpp/internal/ui/images/MaskedFileImageModel.java
--- 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());
-		}
 	}