diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-11-07 10:56:27 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-11-07 10:57:55 +0900 |
commit | eb020150e174335a9956f5259ddced0026163373 (patch) | |
tree | 31bbc7980ae901f5a7fc763abaae32352f1a0c8f /sw/source/core/docnode/node.cxx | |
parent | b31416123ba8c073b707cb500806f0efb5a018b0 (diff) |
sal_Bool to bool
Change-Id: Ia1001ff0f4778bdf5e22bf2800f533dfba80c048
Diffstat (limited to 'sw/source/core/docnode/node.cxx')
-rw-r--r-- | sw/source/core/docnode/node.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/docnode/node.cxx b/sw/source/core/docnode/node.cxx index eea21de11463..779dad583ff6 100644 --- a/sw/source/core/docnode/node.cxx +++ b/sw/source/core/docnode/node.cxx @@ -1309,7 +1309,7 @@ SwCntntNode *SwCntntNode::JoinPrev() // Get info from Modify -sal_Bool SwCntntNode::GetInfo( SfxPoolItem& rInfo ) const +bool SwCntntNode::GetInfo( SfxPoolItem& rInfo ) const { switch( rInfo.Which() ) { @@ -1317,21 +1317,21 @@ sal_Bool SwCntntNode::GetInfo( SfxPoolItem& rInfo ) const if( &GetNodes() == ((SwAutoFmtGetDocNode&)rInfo).pNodes ) { ((SwAutoFmtGetDocNode&)rInfo).pCntntNode = this; - return sal_False; + return false; } break; case RES_FINDNEARESTNODE: if( ((SwFmtPageDesc&)GetAttr( RES_PAGEDESC )).GetPageDesc() ) ((SwFindNearestNode&)rInfo).CheckNode( *this ); - return sal_True; + return true; case RES_CONTENT_VISIBLE: { ((SwPtrMsgPoolItem&)rInfo).pObject = SwIterator<SwFrm,SwCntntNode>::FirstElement(*this); } - return sal_False; + return false; } return SwModify::GetInfo( rInfo ); |