Commit d9566f8b authored by Daniel Ratiu's avatar Daniel Ratiu
Browse files

small fix by FloH

parent f919de6c
......@@ -54,7 +54,7 @@ import org.fortiss.tooling.kernel.utils.KernelModelElementUtils;
* @author ratiu
* @author $Author: hoelzl $
* @version $Rev: 18709 $
* @ConQAT.Rating YELLOW Hash: 330B684D40FBCE02B986671D4E152685
* @ConQAT.Rating YELLOW Hash: 0C863FFB687032023DF5D5B75D94008F
*/
public class ComponentArchitectureUtils {
......@@ -398,7 +398,8 @@ public class ComponentArchitectureUtils {
*/
public static IFunctionDefinition getDefinitionElement(
ComponentArchitectureImpl componentArchitecture, FunctionCallBase call) {
DataDictionary dict = getRootElement(componentArchitecture, DataDictionary.class);
DataDictionary dict =
pickInstanceOf(DataDictionary.class, componentArchitecture.eContainer().eContents());
if(dict != null) {
return dict.getDefinitionElement(call);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment