Commits

Anonymous committed 2f38a39

#i10000# Avoid mismatch bool <-> sal_Bool

  • Participants
  • Parent commits 0d89bec

Comments (0)

Files changed (1)

File configmgr/source/treemgr/nodeimplobj.cxx

 
 				aRemovedTree = addNode->getReplacedTree();
 				OSL_ASSERT( addNode->isReplacing() == (0!=pOriginal)  );
-				OSL_ASSERT( addNode->isReplacing() == aRemovedTree.is() );
+				OSL_ASSERT( addNode->isReplacing() == (bool) aRemovedTree.is() );
 
 				if (aOriginal.isValid())
 					SetNodeImpl::replaceElement(aElementName,*pNewElement);
 
 				aRemovedTree = addNode->getReplacedTree();
 				OSL_ASSERT( addNode->isReplacing() == (0!=pOriginal)  );
-				OSL_ASSERT( addNode->isReplacing() == aRemovedTree.is() );
+				OSL_ASSERT( addNode->isReplacing() == (bool) aRemovedTree.is() );
 
 				if (addNode->wasInserted())
 				{ // it has been integrated into the master tree