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
7ac0855f
Commit
7ac0855f
authored
Apr 14, 2014
by
Ralf Habacker
Browse files
Crash fix on ada import.
CCBUG:333363
FIXED-IN:4.13.0 (cherry picked from commit
3094593e
)
parent
1f3447ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
umbrello/codeimport/adaimport.cpp
View file @
7ac0855f
...
...
@@ -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
Supports
Markdown
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