Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SDK
Umbrello
Commits
3094593e
Commit
3094593e
authored
Apr 14, 2014
by
Ralf Habacker
Browse files
Crash fix on ada import.
CCBUG:333363
parent
9f77894e
Changes
1
Hide whitespace changes
Inline
Side-by-side
umbrello/codeimport/adaimport.cpp
View file @
3094593e
...
...
@@ -616,8 +616,10 @@ bool AdaImport::parseStmt()
}
UMLObject
*
o
=
Import_Utils
::
insertAttribute
(
m_klass
,
m_currentAccess
,
name
,
typeName
,
m_comment
);
UMLAttribute
*
attr
=
static_cast
<
UMLAttribute
*>
(
o
);
attr
->
setInitialValue
(
initialValue
);
if
(
o
)
{
UMLAttribute
*
attr
=
static_cast
<
UMLAttribute
*>
(
o
);
attr
->
setInitialValue
(
initialValue
);
}
skipStmt
();
return
true
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment