summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/abpilot/abpfinalpage.cxx2
-rw-r--r--extensions/source/abpilot/abspilot.cxx2
-rw-r--r--extensions/source/abpilot/abspilot.hxx2
-rw-r--r--extensions/source/bibliography/toolbar.cxx10
-rw-r--r--extensions/source/dbpilots/groupboxwiz.cxx2
-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
11 files changed, 31 insertions, 31 deletions
diff --git a/extensions/source/abpilot/abpfinalpage.cxx b/extensions/source/abpilot/abpfinalpage.cxx
index 9bb73f179a6d..62cacc19b6df 100644
--- a/extensions/source/abpilot/abpfinalpage.cxx
+++ b/extensions/source/abpilot/abpfinalpage.cxx
@@ -62,7 +62,7 @@ namespace abp
m_aName.SetModifyHdl( LINK(this, FinalPage, OnNameModified) );
m_aLocation.SetModifyHdl( LINK(this, FinalPage, OnNameModified) );
m_aRegisterName.SetClickHdl( LINK( this, FinalPage, OnRegister ) );
- m_aRegisterName.Check(sal_True);
+ m_aRegisterName.Check(true);
}
//---------------------------------------------------------------------
diff --git a/extensions/source/abpilot/abspilot.cxx b/extensions/source/abpilot/abspilot.cxx
index 012c23ba5561..0c3a07e2d3be 100644
--- a/extensions/source/abpilot/abspilot.cxx
+++ b/extensions/source/abpilot/abspilot.cxx
@@ -201,7 +201,7 @@ namespace abp
}
//---------------------------------------------------------------------
- sal_Bool OAddessBookSourcePilot::Close()
+ bool OAddessBookSourcePilot::Close()
{
implCleanup();
diff --git a/extensions/source/abpilot/abspilot.hxx b/extensions/source/abpilot/abspilot.hxx
index 12bc60be5d4c..26a4135637c6 100644
--- a/extensions/source/abpilot/abspilot.hxx
+++ b/extensions/source/abpilot/abspilot.hxx
@@ -77,7 +77,7 @@ namespace abp
// RoadmapWizard
virtual OUString getStateDisplayName( WizardState _nState ) const;
- virtual sal_Bool Close();
+ virtual bool Close();
private:
DECL_LINK( OnCancelClicked, void* );
diff --git a/extensions/source/bibliography/toolbar.cxx b/extensions/source/bibliography/toolbar.cxx
index f306179fd779..0d524c60fb16 100644
--- a/extensions/source/bibliography/toolbar.cxx
+++ b/extensions/source/bibliography/toolbar.cxx
@@ -358,7 +358,7 @@ void BibToolBar::Click()
{
if(pDatMan)
pDatMan->CreateMappingDialog(GetParent());
- CheckItem( nId, sal_False );
+ CheckItem( nId, false );
}
else if(nId == TBC_BT_CHANGESOURCE)
{
@@ -368,7 +368,7 @@ void BibToolBar::Click()
if(!sNew.isEmpty())
pDatMan->setActiveDataSource(sNew);
}
- CheckItem( nId, sal_False );
+ CheckItem( nId, false );
}
}
@@ -484,13 +484,13 @@ IMPL_LINK( BibToolBar, MenuHdl, ToolBox*, /*pToolbox*/)
{
EndSelection(); // vor SetDropMode (SetDropMode ruft SetItemImage)
- SetItemDown(TBC_BT_AUTOFILTER,sal_True);
+ SetItemDown(TBC_BT_AUTOFILTER,true);
nId = aPopupMenu.Execute(this, GetItemRect(TBC_BT_AUTOFILTER));
if(nId>0)
{
- aPopupMenu.CheckItem(nSelMenuItem,sal_False);
+ aPopupMenu.CheckItem(nSelMenuItem,false);
aPopupMenu.CheckItem(nId);
nSelMenuItem=nId;
aQueryField = MnemonicGenerator::EraseAllMnemonicChars( aPopupMenu.GetItemText(nId) );
@@ -507,7 +507,7 @@ IMPL_LINK( BibToolBar, MenuHdl, ToolBox*, /*pToolbox*/)
Point aPoint;
MouseEvent aLeave( aPoint, 0, MOUSE_LEAVEWINDOW | MOUSE_SYNTHETIC );
MouseMove( aLeave );
- SetItemDown(TBC_BT_AUTOFILTER,sal_False);
+ SetItemDown(TBC_BT_AUTOFILTER,false);
}
diff --git a/extensions/source/dbpilots/groupboxwiz.cxx b/extensions/source/dbpilots/groupboxwiz.cxx
index 6df275e9d775..9f108883050e 100644
--- a/extensions/source/dbpilots/groupboxwiz.cxx
+++ b/extensions/source/dbpilots/groupboxwiz.cxx
@@ -218,7 +218,7 @@ namespace dbp
m_aExistingRadios.SetSelectHdl(LINK(this, ORadioSelectionPage, OnEntrySelected));
implCheckMoveButtons();
- m_aExistingRadios.EnableMultiSelection(sal_True);
+ m_aExistingRadios.EnableMultiSelection(true);
getDialog()->defaultButton(&m_aMoveRight);
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 );