projects
/
framework
/
osp
/
uifw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47a06d6
)
Fix E_OUT_OF_RANGE exception in Container::RemoveControl function
author
jaewon7.cho
<jaewon7.cho@samsung.com>
Tue, 2 Apr 2013 10:33:06 +0000
(19:33 +0900)
committer
jaewon7.cho
<jaewon7.cho@samsung.com>
Tue, 2 Apr 2013 10:33:06 +0000
(19:33 +0900)
Change-Id: Iacc169ec5e1bd93bcfe691d83110a8967566cf3c
Signed-off-by: jaewon7.cho <jaewon7.cho@samsung.com>
src/ui/FUi_ContainerImpl.cpp
patch
|
blob
|
history
diff --git
a/src/ui/FUi_ContainerImpl.cpp
b/src/ui/FUi_ContainerImpl.cpp
index
6e5a9b2
..
6871ed1
100755
(executable)
--- a/
src/ui/FUi_ContainerImpl.cpp
+++ b/
src/ui/FUi_ContainerImpl.cpp
@@
-291,8
+291,11
@@
_ContainerImpl::RemoveControl(int index)
delete pContainer;
pContainer = null;
}
- r = RemoveChild(index);
- SysTryReturn(NID_UI, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+ else
+ {
+ r = RemoveChild(index);
+ SysTryReturn(NID_UI, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
+ }
return r;
}