Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnsgar Radermacher2015-11-06 15:55:32 +0000
committerAnsgar Radermacher2015-11-06 15:55:32 +0000
commitfc34843cebb9b1ba93e1a6558a791536b9704662 (patch)
tree402ee95f6d54ec606cbf5202abb062cc41baab50 /extraplugins
parentdf9e84a5455e1a7c750f6618dc6881d87a497390 (diff)
downloadorg.eclipse.papyrus-fc34843cebb9b1ba93e1a6558a791536b9704662.tar.gz
org.eclipse.papyrus-fc34843cebb9b1ba93e1a6558a791536b9704662.tar.xz
org.eclipse.papyrus-fc34843cebb9b1ba93e1a6558a791536b9704662.zip
481527 - [CDT integration]Open CDT editor throws exception
Diffstat (limited to 'extraplugins')
-rw-r--r--extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/CppLangCodegen.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/CppLangCodegen.java b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/CppLangCodegen.java
index a9467bc3191..3dc87c06e27 100644
--- a/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/CppLangCodegen.java
+++ b/extraplugins/codegen/org.eclipse.papyrus.cpp.codegen/src/org/eclipse/papyrus/cpp/codegen/CppLangCodegen.java
@@ -60,7 +60,7 @@ public class CppLangCodegen implements ILangCodegen2 {
if (nearestPackage != null) {
// check whether the C++ profile is applied
for (Profile profile : nearestPackage.getAllAppliedProfiles()) {
- if (profile.getName().equals(C_CppPackage.eINSTANCE.getName())) {
+ if (C_CppPackage.eINSTANCE.getName().equals(profile.getName())) {
return true;
}
}

Back to the top