summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/tree
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-24 11:13:09 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-24 11:13:42 +0100
commit146c7c5c89d9ce26c3de951ff049d36df1b5857b (patch)
treed66d72cb77002c96f528790f88012617243ccbf3 /toolkit/source/controls/tree
parent569756aaf4606313297eace88b3ad5a6f57d8329 (diff)
toolkit: sal_Bool -> bool
Change-Id: I5153c4413004d1b50cc503b3e70657bc831a5793
Diffstat (limited to 'toolkit/source/controls/tree')
-rw-r--r--toolkit/source/controls/tree/treedatamodel.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/source/controls/tree/treedatamodel.cxx b/toolkit/source/controls/tree/treedatamodel.cxx
index 37a454178c38..da3dd9f76876 100644
--- a/toolkit/source/controls/tree/treedatamodel.cxx
+++ b/toolkit/source/controls/tree/treedatamodel.cxx
@@ -87,7 +87,7 @@ class MutableTreeNode: public ::cppu::WeakAggImplHelper2< XMutableTreeNode, XSer
friend class MutableTreeDataModel;
public:
- MutableTreeNode( const MutableTreeDataModelRef& xModel, const Any& rValue, sal_Bool bChildrenOnDemand );
+ MutableTreeNode( const MutableTreeDataModelRef& xModel, const Any& rValue, bool bChildrenOnDemand );
virtual ~MutableTreeNode();
void setParent( MutableTreeNode* pParent );
@@ -132,7 +132,7 @@ private:
TreeNodeVector maChildren;
Any maDisplayValue;
Any maDataValue;
- sal_Bool mbHasChildrenOnDemand;
+ bool mbHasChildrenOnDemand;
::osl::Mutex maMutex;
MutableTreeNode* mpParent;
MutableTreeDataModelRef mxModel;
@@ -266,7 +266,7 @@ Sequence< OUString > SAL_CALL MutableTreeDataModel::getSupportedServiceNames( )
return aSeq;
}
-MutableTreeNode::MutableTreeNode( const MutableTreeDataModelRef& xModel, const Any& rValue, sal_Bool bChildrenOnDemand )
+MutableTreeNode::MutableTreeNode( const MutableTreeDataModelRef& xModel, const Any& rValue, bool bChildrenOnDemand )
: maDisplayValue( rValue )
, mbHasChildrenOnDemand( bChildrenOnDemand )
, mpParent( 0 )
@@ -397,7 +397,7 @@ void SAL_CALL MutableTreeNode::setHasChildrenOnDemand( sal_Bool bChildrenOnDeman
{
::osl::Guard< ::osl::Mutex > aGuard( maMutex );
- bChanged = mbHasChildrenOnDemand != bChildrenOnDemand;
+ bChanged = mbHasChildrenOnDemand != bool(bChildrenOnDemand);
mbHasChildrenOnDemand = bChildrenOnDemand;
}