summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-02-10 13:35:17 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-02-10 16:27:44 +0000
commit8c8e536c2c36cdf31494e7b9b9c0871169ed043c (patch)
tree24807a701751b8a78b1756d41ac3090ac0eb8047
parenta5ec343f6cb522f4d41e097eda48042bf85c4578 (diff)
coverity#1267630 Logically dead code
Change-Id: Idf857f5681766923675bdc210c02a796e0f58024
-rw-r--r--vcl/source/window/builder.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index 80e147801048..5a6475fe9afa 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -2031,7 +2031,6 @@ void VclBuilder::handleChild(vcl::Window *pParent, xmlreader::XmlReader &reader)
else if (sInternalChild.startsWith("action_area") || sInternalChild.startsWith("messagedialog-action_area"))
{
vcl::Window *pContentArea = pCurrentChild->GetParent();
- assert(pContentArea && pContentArea->GetType() == WINDOW_CONTAINER);
if (Dialog *pBoxParent = dynamic_cast<Dialog*>(pContentArea ? pContentArea->GetParent() : NULL))
{
pBoxParent->set_action_area(static_cast<VclButtonBox*>(pCurrentChild));