diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-08 11:42:56 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-08 11:48:13 +0200 |
commit | b7d30cb50ede0752f1ee194655f925c77e06879a (patch) | |
tree | e9f1369976e5130ee20704344371060b0637a29a /svtools/source/uno/treecontrolpeer.cxx | |
parent | 2d54aa1d22f404a1a36aaa97d3e3bf5024e89aed (diff) |
svtools: sal_Bool->bool
Change-Id: Idd9a3ccf0eb6d14cec158daa17a6b2da625f7ffa
Diffstat (limited to 'svtools/source/uno/treecontrolpeer.cxx')
-rw-r--r-- | svtools/source/uno/treecontrolpeer.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/svtools/source/uno/treecontrolpeer.cxx b/svtools/source/uno/treecontrolpeer.cxx index e203d8767851..e49d0da9235c 100644 --- a/svtools/source/uno/treecontrolpeer.cxx +++ b/svtools/source/uno/treecontrolpeer.cxx @@ -1282,7 +1282,7 @@ void TreeControlPeer::setProperty( const OUString& PropertyName, const Any& aVal { case BASEPROPERTY_HIDEINACTIVESELECTION: { - sal_Bool bEnabled = sal_False; + bool bEnabled = false; if ( aValue >>= bEnabled ) { WinBits nStyle = rTree.GetStyle(); @@ -1327,7 +1327,7 @@ void TreeControlPeer::setProperty( const OUString& PropertyName, const Any& aVal } case BASEPROPERTY_TREE_EDITABLE: { - sal_Bool bEnabled = false; + bool bEnabled = false; if( aValue >>= bEnabled ) rTree.EnableInplaceEditing( bEnabled ? sal_True : sal_False ); break; @@ -1336,7 +1336,7 @@ void TreeControlPeer::setProperty( const OUString& PropertyName, const Any& aVal break; // @todo case BASEPROPERTY_TREE_ROOTDISPLAYED: { - sal_Bool bDisplayed = false; + bool bDisplayed = false; if( (aValue >>= bDisplayed) && ( bDisplayed != mbIsRootDisplayed) ) { onChangeRootDisplayed(bDisplayed); @@ -1345,7 +1345,7 @@ void TreeControlPeer::setProperty( const OUString& PropertyName, const Any& aVal } case BASEPROPERTY_TREE_SHOWSHANDLES: { - sal_Bool bEnabled = false; + bool bEnabled = false; if( aValue >>= bEnabled ) { WinBits nBits = rTree.GetStyle() & (~WB_HASLINES); @@ -1358,7 +1358,7 @@ void TreeControlPeer::setProperty( const OUString& PropertyName, const Any& aVal } case BASEPROPERTY_TREE_SHOWSROOTHANDLES: { - sal_Bool bEnabled = false; + bool bEnabled = false; if( aValue >>= bEnabled ) { WinBits nBits = rTree.GetStyle() & (~WB_HASLINESATROOT); @@ -1422,7 +1422,7 @@ Any TreeControlPeer::getProperty( const OUString& PropertyName ) throw(RuntimeEx return VCLXWindow::getProperty( PropertyName ); } -void TreeControlPeer::onChangeRootDisplayed( sal_Bool bIsRootDisplayed ) +void TreeControlPeer::onChangeRootDisplayed( bool bIsRootDisplayed ) { if( mbIsRootDisplayed == bIsRootDisplayed ) return; |