summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/propctrlr')
-rw-r--r--extensions/source/propctrlr/browserlistbox.cxx14
-rw-r--r--extensions/source/propctrlr/browserpage.cxx2
-rw-r--r--extensions/source/propctrlr/inspectorhelpwindow.cxx4
-rw-r--r--extensions/source/propctrlr/propertyeditor.cxx2
-rw-r--r--extensions/source/propctrlr/selectlabeldialog.cxx4
-rw-r--r--extensions/source/propctrlr/standardcontrol.cxx18
6 files changed, 22 insertions, 22 deletions
diff --git a/extensions/source/propctrlr/browserlistbox.cxx b/extensions/source/propctrlr/browserlistbox.cxx
index 79d35a90d022..3841a6430f80 100644
--- a/extensions/source/propctrlr/browserlistbox.cxx
+++ b/extensions/source/propctrlr/browserlistbox.cxx
@@ -371,7 +371,7 @@ namespace pcr
m_aLinesPlayground.SetBackground( GetBackground() );
m_aLinesPlayground.SetPosPixel(Point(0,0));
- m_aLinesPlayground.SetPaintTransparent(sal_True);
+ m_aLinesPlayground.SetPaintTransparent(true);
m_aLinesPlayground.Show();
m_aVScroll.Hide();
m_aVScroll.SetScrollHdl(LINK(this, OBrowserListBox, ScrollHdl));
@@ -490,9 +490,9 @@ namespace pcr
m_aOutOfDateLines.insert( i );
// repaint
- EnablePaint(sal_False);
+ EnablePaint(false);
UpdatePlayGround();
- EnablePaint(sal_True);
+ EnablePaint(true);
// show the scrollbar
if ( bNeedScrollbar )
@@ -819,7 +819,7 @@ namespace pcr
void OBrowserListBox::MoveThumbTo(sal_Int32 _nNewThumbPos)
{
// disable painting to prevent flicker
- m_aLinesPlayground.EnablePaint(sal_False);
+ m_aLinesPlayground.EnablePaint(false);
sal_Int32 nDelta = _nNewThumbPos - m_aVScroll.GetThumbPos();
// adjust the scrollbar
@@ -848,7 +848,7 @@ namespace pcr
UpdatePlayGround();
}
- m_aLinesPlayground.EnablePaint(sal_True);
+ m_aLinesPlayground.EnablePaint(true);
m_aLinesPlayground.Invalidate(INVALIDATE_CHILDREN);
}
@@ -859,7 +859,7 @@ namespace pcr
(void)_pScrollBar;
// disable painting to prevent flicker
- m_aLinesPlayground.EnablePaint(sal_False);
+ m_aLinesPlayground.EnablePaint(false);
sal_Int32 nThumbPos = m_aVScroll.GetThumbPos();
@@ -884,7 +884,7 @@ namespace pcr
UpdatePlayGround();
}
- m_aLinesPlayground.EnablePaint(sal_True);
+ m_aLinesPlayground.EnablePaint(true);
return 0;
}
diff --git a/extensions/source/propctrlr/browserpage.cxx b/extensions/source/propctrlr/browserpage.cxx
index 8378dc8472a5..a46c97c3b78f 100644
--- a/extensions/source/propctrlr/browserpage.cxx
+++ b/extensions/source/propctrlr/browserpage.cxx
@@ -38,7 +38,7 @@ namespace pcr
,m_aListBox(this)
{
m_aListBox.SetBackground(GetBackground());
- m_aListBox.SetPaintTransparent( sal_True );
+ m_aListBox.SetPaintTransparent( true );
m_aListBox.Show();
}
diff --git a/extensions/source/propctrlr/inspectorhelpwindow.cxx b/extensions/source/propctrlr/inspectorhelpwindow.cxx
index dbff2de8a03f..397ffe6ce41b 100644
--- a/extensions/source/propctrlr/inspectorhelpwindow.cxx
+++ b/extensions/source/propctrlr/inspectorhelpwindow.cxx
@@ -35,14 +35,14 @@ namespace pcr
,m_nMaxLines( 8 )
{
SetBackground();
- SetPaintTransparent(sal_True);
+ SetPaintTransparent(true);
m_aSeparator.SetText( PcrRes(RID_STR_HELP_SECTION_LABEL).toString() );
m_aSeparator.SetBackground();
m_aSeparator.Show();
m_aHelpText.SetControlBackground( /*m_aSeparator.GetBackground().GetColor() */);
m_aHelpText.SetBackground();
- m_aHelpText.SetPaintTransparent(sal_True);
+ m_aHelpText.SetPaintTransparent(true);
m_aHelpText.Show();
}
diff --git a/extensions/source/propctrlr/propertyeditor.cxx b/extensions/source/propctrlr/propertyeditor.cxx
index 8f9e792c1609..e6f017d74215 100644
--- a/extensions/source/propctrlr/propertyeditor.cxx
+++ b/extensions/source/propctrlr/propertyeditor.cxx
@@ -56,7 +56,7 @@ namespace pcr
m_aTabControl.SetDeactivatePageHdl(LINK(this, OPropertyEditor, OnPageDeactivate));
m_aTabControl.SetActivatePageHdl(LINK(this, OPropertyEditor, OnPageActivate));
m_aTabControl.SetBackground(GetBackground());
- m_aTabControl.SetPaintTransparent(sal_True);
+ m_aTabControl.SetPaintTransparent(true);
}
//------------------------------------------------------------------
diff --git a/extensions/source/propctrlr/selectlabeldialog.cxx b/extensions/source/propctrlr/selectlabeldialog.cxx
index 1fc2b9ffe3ec..154c34e998a2 100644
--- a/extensions/source/propctrlr/selectlabeldialog.cxx
+++ b/extensions/source/propctrlr/selectlabeldialog.cxx
@@ -135,12 +135,12 @@ namespace pcr
m_aControlTree.MakeVisible(m_aControlTree.First(), sal_True);
if (m_aControlTree.FirstSelected())
m_aControlTree.Select(m_aControlTree.FirstSelected(), sal_False);
- m_aNoAssignment.Check(sal_True);
+ m_aNoAssignment.Check(true);
}
if (!m_bHaveAssignableControl)
{ // no controls which can be assigned
- m_aNoAssignment.Check(sal_True);
+ m_aNoAssignment.Check(true);
m_aNoAssignment.Enable(false);
}
diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx
index caaaec807b83..d5e4e5371cd1 100644
--- a/extensions/source/propctrlr/standardcontrol.cxx
+++ b/extensions/source/propctrlr/standardcontrol.cxx
@@ -71,9 +71,9 @@ namespace pcr
OTimeControl::OTimeControl( Window* pParent, WinBits nWinStyle )
:OTimeControl_Base( PropertyControlType::TimeField, pParent, nWinStyle )
{
- getTypedControlWindow()->SetStrictFormat( sal_True );
+ getTypedControlWindow()->SetStrictFormat( true );
getTypedControlWindow()->SetFormat( TIMEF_SEC );
- getTypedControlWindow()->EnableEmptyFieldValue( sal_True );
+ getTypedControlWindow()->EnableEmptyFieldValue( true );
}
//------------------------------------------------------------------
@@ -117,7 +117,7 @@ namespace pcr
:ODateControl_Base( PropertyControlType::DateField, pParent, nWinStyle | WB_DROPDOWN )
{
WindowType* pControlWindow = getTypedControlWindow();
- pControlWindow->SetStrictFormat(sal_True);
+ pControlWindow->SetStrictFormat(true);
pControlWindow->SetMin( ::Date( 1,1,1600 ) );
pControlWindow->SetFirst( ::Date( 1,1,1600 ) );
@@ -125,7 +125,7 @@ namespace pcr
pControlWindow->SetMax( ::Date( 1, 1, 9999 ) );
pControlWindow->SetExtDateFormat( XTDATEF_SYSTEM_SHORT_YYYY );
- pControlWindow->EnableEmptyFieldValue( sal_True );
+ pControlWindow->EnableEmptyFieldValue( true );
}
//------------------------------------------------------------------
@@ -484,8 +484,8 @@ namespace pcr
{
getTypedControlWindow()->SetDefaultUnit( FUNIT_NONE );
- getTypedControlWindow()->EnableEmptyFieldValue( sal_True );
- getTypedControlWindow()->SetStrictFormat( sal_True );
+ getTypedControlWindow()->EnableEmptyFieldValue( true );
+ getTypedControlWindow()->SetStrictFormat( true );
Optional< double > value( getMaxValue() );
value.Value = -value.Value;
setMinValue( value );
@@ -695,7 +695,7 @@ namespace pcr
getTypedControlWindow()->SetDropDownLineCount( LB_DEFAULT_COUNT );
if ( ( nWinStyle & WB_READONLY ) != 0 )
{
- getTypedControlWindow()->SetReadOnly( sal_True );
+ getTypedControlWindow()->SetReadOnly( true );
getTypedControlWindow()->Enable( true );
}
}
@@ -804,7 +804,7 @@ namespace pcr
getTypedControlWindow()->SetDropDownLineCount( LB_DEFAULT_COUNT );
if ( ( nWinStyle & WB_READONLY ) != 0 )
{
- getTypedControlWindow()->SetReadOnly( sal_True );
+ getTypedControlWindow()->SetReadOnly( true );
getTypedControlWindow()->Enable( true );
}
}
@@ -1030,7 +1030,7 @@ namespace pcr
,m_nOperationMode( eStringList )
,m_bDropdown( sal_False )
{
- SetCompoundControl( sal_True );
+ SetCompoundControl( true );
m_pImplEdit = new MultiLineEdit( this, WB_TABSTOP | WB_IGNORETAB | WB_NOBORDER | (_nStyle & WB_READONLY) );
SetSubEdit( m_pImplEdit );