diff options
| author | Violaine Batthish | 2013-05-06 20:17:48 +0000 |
|---|---|---|
| committer | Chris Recoskie | 2013-05-06 20:21:25 +0000 |
| commit | ef75617828f5fcaf8de3a530ee19bea0c90693a8 (patch) | |
| tree | cc29b7cec542101baf6d44e71f0501c699be90d3 | |
| parent | 638e567df5bf4018ab77cebe524f5cc01423b564 (diff) | |
| download | org.eclipse.ptp-ef75617828f5fcaf8de3a530ee19bea0c90693a8.tar.gz org.eclipse.ptp-ef75617828f5fcaf8de3a530ee19bea0c90693a8.tar.xz org.eclipse.ptp-ef75617828f5fcaf8de3a530ee19bea0c90693a8.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 |
