diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-10-31 07:57:01 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-10-31 07:57:01 +0000 |
commit | d3efd4c782d2334ffd0983c60114a3fa8f240bae (patch) | |
tree | 0af3b323e68d3cc608d582a7c00b955b89376f63 | |
parent | 1027a8f12927c5772dc1b07dab3b37a4207a9151 (diff) |
#i10000# Avoid mismatch bool <-> sal_Bool
-rw-r--r-- | configmgr/source/treemgr/nodeimplobj.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configmgr/source/treemgr/nodeimplobj.cxx b/configmgr/source/treemgr/nodeimplobj.cxx index 353bb598b756..57958c82771b 100644 --- a/configmgr/source/treemgr/nodeimplobj.cxx +++ b/configmgr/source/treemgr/nodeimplobj.cxx @@ -660,7 +660,7 @@ void DeferredSetNodeImpl::finishCommit(SubtreeChange& rChanges) 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); @@ -827,7 +827,7 @@ void DeferredSetNodeImpl::failedCommit(SubtreeChange& rChanges) 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 |