summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/config/menuoptions.cxx4
-rw-r--r--svtools/source/control/filectrl.cxx2
-rw-r--r--svtools/source/uno/toolboxcontroller.cxx2
-rw-r--r--svtools/source/uno/treecontrolpeer.cxx4
4 files changed, 6 insertions, 6 deletions
diff --git a/svtools/source/config/menuoptions.cxx b/svtools/source/config/menuoptions.cxx
index 1a7421595ef4..de49505ad463 100644
--- a/svtools/source/config/menuoptions.cxx
+++ b/svtools/source/config/menuoptions.cxx
@@ -176,7 +176,7 @@ SvtMenuOptions_Impl::SvtMenuOptions_Impl()
else
{
bSystemMenuIcons = false;
- bMenuIcons = m_eMenuIcons ? sal_True : sal_False;
+ bMenuIcons = m_eMenuIcons ? true : false;
}
// Copy values from list in right order to our internal member.
@@ -249,7 +249,7 @@ void SvtMenuOptions_Impl::Notify( const Sequence< OUString >& seqPropertyNames )
else
{
bSystemMenuIcons = false;
- bMenuIcons = m_eMenuIcons ? sal_True : sal_False;
+ bMenuIcons = m_eMenuIcons ? true : false;
}
// Step over list of property names and get right value from coreesponding value list to set it on internal members!
diff --git a/svtools/source/control/filectrl.cxx b/svtools/source/control/filectrl.cxx
index 83eeb542f6ad..31534293e890 100644
--- a/svtools/source/control/filectrl.cxx
+++ b/svtools/source/control/filectrl.cxx
@@ -161,7 +161,7 @@ void FileControl::Resize()
( mnFlags & FileControlMode::RESIZEBUTTONBYPATHLEN
? ( maEdit.GetTextWidth( maEdit.GetText() )
<= aOutSz.Width() - nButtonTextWidth - ButtonBorder )
- : sal_True ) )
+ : true ) )
)
{
maButton.SetText( maButtonText );
diff --git a/svtools/source/uno/toolboxcontroller.cxx b/svtools/source/uno/toolboxcontroller.cxx
index a22fd414fb9c..48b9d5a575d0 100644
--- a/svtools/source/uno/toolboxcontroller.cxx
+++ b/svtools/source/uno/toolboxcontroller.cxx
@@ -776,7 +776,7 @@ void ToolboxController::enable( bool bEnable )
sal_uInt16 nItemId = 0;
if( getToolboxId( nItemId, &pToolBox ) )
{
- pToolBox->EnableItem( nItemId, bEnable ? sal_True : sal_False );
+ pToolBox->EnableItem( nItemId, bEnable ? true : false );
}
}
diff --git a/svtools/source/uno/treecontrolpeer.cxx b/svtools/source/uno/treecontrolpeer.cxx
index c4a04f9ecc78..1a6f0ff0ba23 100644
--- a/svtools/source/uno/treecontrolpeer.cxx
+++ b/svtools/source/uno/treecontrolpeer.cxx
@@ -506,7 +506,7 @@ void TreeControlPeer::ChangeNodesSelection( const Any& rSelection, bool bSelect,
while( nCount-- )
{
UnoTreeListEntry* pEntry = getEntry( *pNodes++ );
- rTree.Select( pEntry, bSelect ? sal_True : sal_False );
+ rTree.Select( pEntry, bSelect ? true : false );
}
}
}
@@ -1329,7 +1329,7 @@ void TreeControlPeer::setProperty( const OUString& PropertyName, const Any& aVal
{
bool bEnabled = false;
if( aValue >>= bEnabled )
- rTree.EnableInplaceEditing( bEnabled ? sal_True : sal_False );
+ rTree.EnableInplaceEditing( bEnabled ? true : false );
break;
}
case BASEPROPERTY_TREE_INVOKESSTOPNODEEDITING: