svx/source/form/navigatortree.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 89f22051f22538bbf90951a6f6d2da13a17879b7 Author: Caolán McNamara <caol...@redhat.com> Date: Thu May 12 10:22:51 2016 +0100 WaE: -Werror=logical-op dynamic_cast dbg test is on the result not input Change-Id: Ib3750fe1d2ce480beb5b4c512ed74701f29eecfc diff --git a/svx/source/form/navigatortree.cxx b/svx/source/form/navigatortree.cxx index f95131f..c32b434 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)
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits