summaryrefslogtreecommitdiff
path: root/svx/source/form
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-05-12 10:22:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-05-12 10:29:26 +0100
commit89f22051f22538bbf90951a6f6d2da13a17879b7 (patch)
tree3bc82bb0e7b6a0b160640eb479ad7eb8fb2bceaf /svx/source/form
parentc1b6d154724a64d8a46bc95de1e23e614bfcbc75 (diff)
WaE: -Werror=logical-op dynamic_cast dbg test is on the result not input
Change-Id: Ib3750fe1d2ce480beb5b4c512ed74701f29eecfc
Diffstat (limited to 'svx/source/form')
-rw-r--r--svx/source/form/navigatortree.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/navigatortree.cxx b/svx/source/form/navigatortree.cxx
index f95131ffc442..c32b4344ce3c 100644
--- a/svx/source/form/navigatortree.cxx
+++ b/svx/source/form/navigatortree.cxx
@@ -1071,7 +1071,7 @@ namespace svxform
Reference< XIndexContainer > xContainer(xCurrentChild->getParent(), UNO_QUERY);
FmFormData* pCurrentParentUserData = static_cast<FmFormData*>(pCurrentUserData->GetParent());
- DBG_ASSERT(pCurrentParentUserData == nullptr || dynamic_cast<const FmFormData*>( pCurrentParentUserData) != nullptr, "NavigatorTree::implExecuteDataTransfer: invalid parent");
+ DBG_ASSERT(pCurrentParentUserData == nullptr || dynamic_cast<const FmFormData*>(pCurrentUserData->GetParent()) != nullptr, "NavigatorTree::implExecuteDataTransfer: invalid parent");
// remove from parent
if (pCurrentParentUserData)