diff options
| author | Violaine Batthish | 2013-05-06 20:17:48 +0000 |
|---|---|---|
| committer | Chris Recoskie | 2013-05-06 20:17:48 +0000 |
| commit | da9b0fb07829b1afa292842d529b13b573a846ae (patch) | |
| tree | 2fb91cfcd380bf15353191e38883ef9d9e7c0fd6 | |
| parent | 35d364996ca98b3d8f9c56b3895aa1414d67cfa2 (diff) | |
| download | org.eclipse.ptp-da9b0fb07829b1afa292842d529b13b573a846ae.tar.gz org.eclipse.ptp-da9b0fb07829b1afa292842d529b13b573a846ae.tar.xz org.eclipse.ptp-da9b0fb07829b1afa292842d529b13b573a846ae.zip | |
Bug 407329 - Attempting to open an include file which is not found in
the build path produces exceptions
| -rw-r--r-- | rdt/org.eclipse.ptp.rdt.ui/src/org/eclipse/ptp/internal/rdt/ui/editor/OpenIncludeAction.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rdt/org.eclipse.ptp.rdt.ui/src/org/eclipse/ptp/internal/rdt/ui/editor/OpenIncludeAction.java b/rdt/org.eclipse.ptp.rdt.ui/src/org/eclipse/ptp/internal/rdt/ui/editor/OpenIncludeAction.java index 3df2d6a86..421c395ad 100644 --- a/rdt/org.eclipse.ptp.rdt.ui/src/org/eclipse/ptp/internal/rdt/ui/editor/OpenIncludeAction.java +++ b/rdt/org.eclipse.ptp.rdt.ui/src/org/eclipse/ptp/internal/rdt/ui/editor/OpenIncludeAction.java @@ -107,7 +107,7 @@ public class OpenIncludeAction extends String fullFileName= include.getFullFileName(); //the full path, if there is one IProject project = include.getCProject().getProject(); - if (fullFileName != null) { + if (fullFileName != null && fullFileName.length()>0) { // Bug 379298 - Open include file from Outline view throws errors for remote project if (!isLocalServiceConfiguration(project)) { //files are on remote server //get remote location information |
