summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-28 20:02:24 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-28 20:26:28 +0100
commita29cdd540c6b6b583b56f0e1a6e0c4f8714b351e (patch)
tree04e1b7df604b0b361772640b689218ec6646d95c /extensions/source/propctrlr
parent6d993bc5b448241c2cb35eff92e126058ccf1ce1 (diff)
bool improvements
Change-Id: If3402725c9cbff5df45043bd2ecd22dd6241c052
Diffstat (limited to 'extensions/source/propctrlr')
-rw-r--r--extensions/source/propctrlr/browserlistbox.cxx2
-rw-r--r--extensions/source/propctrlr/propcontroller.cxx4
-rw-r--r--extensions/source/propctrlr/propertyeditor.cxx4
-rw-r--r--extensions/source/propctrlr/selectlabeldialog.cxx4
-rw-r--r--extensions/source/propctrlr/standardcontrol.cxx4
5 files changed, 9 insertions, 9 deletions
diff --git a/extensions/source/propctrlr/browserlistbox.cxx b/extensions/source/propctrlr/browserlistbox.cxx
index ac52c6aee332..79d35a90d022 100644
--- a/extensions/source/propctrlr/browserlistbox.cxx
+++ b/extensions/source/propctrlr/browserlistbox.cxx
@@ -1200,7 +1200,7 @@ namespace pcr
if ( pControlWindowAsEdit )
pControlWindowAsEdit->SetReadOnly( sal_True );
else
- pControlWindowAsEdit->Enable( sal_False );
+ pControlWindowAsEdit->Enable( false );
}
}
}
diff --git a/extensions/source/propctrlr/propcontroller.cxx b/extensions/source/propctrlr/propcontroller.cxx
index 6e8423291258..9d6d93b7859f 100644
--- a/extensions/source/propctrlr/propcontroller.cxx
+++ b/extensions/source/propctrlr/propcontroller.cxx
@@ -132,7 +132,7 @@ namespace pcr
if (xContainerWindow.is())
{
xContainerWindow->addFocusListener(this);
- m_bContainerFocusListening = sal_True;
+ m_bContainerFocusListening = true;
}
}
@@ -151,7 +151,7 @@ namespace pcr
if (xContainerWindow.is())
{
xContainerWindow->removeFocusListener(this);
- m_bContainerFocusListening = sal_False;
+ m_bContainerFocusListening = false;
}
}
diff --git a/extensions/source/propctrlr/propertyeditor.cxx b/extensions/source/propctrlr/propertyeditor.cxx
index a35fbc0fdba2..8f9e792c1609 100644
--- a/extensions/source/propctrlr/propertyeditor.cxx
+++ b/extensions/source/propctrlr/propertyeditor.cxx
@@ -78,7 +78,7 @@ namespace pcr
OBrowserPage* pPage = static_cast<OBrowserPage*>(m_aTabControl.GetTabPage(nID));
if (pPage)
{
- pPage->EnableInput(sal_False);
+ pPage->EnableInput(false);
m_aTabControl.RemovePage(nID);
delete pPage;
}
@@ -244,7 +244,7 @@ namespace pcr
OBrowserPage* pPage = static_cast<OBrowserPage*>(m_aTabControl.GetTabPage(nID));
if (pPage)
- pPage->EnableInput(sal_False);
+ pPage->EnableInput(false);
m_aTabControl.RemovePage(nID);
if (pPage)
delete pPage;
diff --git a/extensions/source/propctrlr/selectlabeldialog.cxx b/extensions/source/propctrlr/selectlabeldialog.cxx
index 36dae6ea1fd0..1fc2b9ffe3ec 100644
--- a/extensions/source/propctrlr/selectlabeldialog.cxx
+++ b/extensions/source/propctrlr/selectlabeldialog.cxx
@@ -67,7 +67,7 @@ namespace pcr
// initialize the TreeListBox
m_aControlTree.SetSelectionMode( SINGLE_SELECTION );
m_aControlTree.SetDragDropMode( 0 );
- m_aControlTree.EnableInplaceEditing( sal_False );
+ m_aControlTree.EnableInplaceEditing( false );
m_aControlTree.SetStyle(m_aControlTree.GetStyle() | WB_BORDER | WB_HASLINES | WB_HASLINESATROOT | WB_HASBUTTONS | WB_HASBUTTONSATROOT | WB_HSCROLL);
m_aControlTree.SetNodeBitmaps( m_aModelImages.GetImage( RID_SVXIMG_COLLAPSEDNODE ), m_aModelImages.GetImage( RID_SVXIMG_EXPANDEDNODE ) );
@@ -141,7 +141,7 @@ namespace pcr
if (!m_bHaveAssignableControl)
{ // no controls which can be assigned
m_aNoAssignment.Check(sal_True);
- m_aNoAssignment.Enable(sal_False);
+ m_aNoAssignment.Enable(false);
}
m_aNoAssignment.SetClickHdl(LINK(this, OSelectLabelDialog, OnNoAssignmentClicked));
diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx
index fe471ac93573..14475a06e356 100644
--- a/extensions/source/propctrlr/standardcontrol.cxx
+++ b/extensions/source/propctrlr/standardcontrol.cxx
@@ -696,7 +696,7 @@ namespace pcr
if ( ( nWinStyle & WB_READONLY ) != 0 )
{
getTypedControlWindow()->SetReadOnly( sal_True );
- getTypedControlWindow()->Enable( sal_True );
+ getTypedControlWindow()->Enable( true );
}
}
@@ -805,7 +805,7 @@ namespace pcr
if ( ( nWinStyle & WB_READONLY ) != 0 )
{
getTypedControlWindow()->SetReadOnly( sal_True );
- getTypedControlWindow()->Enable( sal_True );
+ getTypedControlWindow()->Enable( true );
}
}