summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/brwbox/datwin.cxx6
-rw-r--r--svtools/source/brwbox/ebbcontrols.cxx10
-rw-r--r--svtools/source/brwbox/editbrowsebox.cxx18
-rw-r--r--svtools/source/config/accessibilityoptions.cxx4
-rw-r--r--svtools/source/config/helpopt.cxx8
-rw-r--r--svtools/source/contnr/fileview.cxx2
-rw-r--r--svtools/source/contnr/imivctl1.cxx4
-rw-r--r--svtools/source/contnr/svimpbox.cxx4
-rw-r--r--svtools/source/contnr/templwin.cxx4
-rw-r--r--svtools/source/contnr/treelistbox.cxx6
-rw-r--r--svtools/source/control/calendar.cxx4
-rw-r--r--svtools/source/control/ctrlbox.cxx22
-rw-r--r--svtools/source/control/filectrl.cxx2
-rw-r--r--svtools/source/control/headbar.cxx4
-rw-r--r--svtools/source/control/inettbc.cxx2
-rw-r--r--svtools/source/control/roadmap.cxx4
-rw-r--r--svtools/source/control/ruler.cxx4
-rw-r--r--svtools/source/control/stdmenu.cxx10
-rw-r--r--svtools/source/control/tabbar.cxx4
-rw-r--r--svtools/source/control/toolbarmenu.cxx6
-rw-r--r--svtools/source/control/valueset.cxx12
-rw-r--r--svtools/source/dialogs/addresstemplate.cxx4
-rw-r--r--svtools/source/dialogs/wizdlg.cxx8
-rw-r--r--svtools/source/edit/editsyntaxhighlighter.cxx12
-rw-r--r--svtools/source/edit/svmedit2.cxx2
-rw-r--r--svtools/source/filter/SvFilterOptionsDialog.cxx2
-rw-r--r--svtools/source/filter/exportdialog.cxx10
-rw-r--r--svtools/source/graphic/grfmgr2.cxx4
-rw-r--r--svtools/source/graphic/provider.cxx2
-rw-r--r--svtools/source/hatchwindow/ipwin.cxx2
-rw-r--r--svtools/source/inc/svimpbox.hxx4
-rw-r--r--svtools/source/table/tablecontrol_impl.cxx22
-rw-r--r--svtools/source/table/tablecontrol_impl.hxx4
-rw-r--r--svtools/source/toolpanel/drawerlayouter.cxx4
-rw-r--r--svtools/source/toolpanel/paneltabbar.cxx10
-rw-r--r--svtools/source/toolpanel/tablayouter.cxx2
-rw-r--r--svtools/source/toolpanel/toolpaneldrawer.cxx8
-rw-r--r--svtools/source/uno/unoiface.cxx2
38 files changed, 121 insertions, 121 deletions
diff --git a/svtools/source/brwbox/datwin.cxx b/svtools/source/brwbox/datwin.cxx
index 1ed74e3bf5d3..77eed29b9917 100644
--- a/svtools/source/brwbox/datwin.cxx
+++ b/svtools/source/brwbox/datwin.cxx
@@ -47,7 +47,7 @@ void ButtonFrame::Draw( OutputDevice& rDev )
{
Window *pWin = (Window*) &rDev;
if( bPressed )
- pWin->DrawSelectionBackground( aRect, 0, sal_True, sal_False, sal_False );
+ pWin->DrawSelectionBackground( aRect, 0, true, false, false );
}
else
{
@@ -67,7 +67,7 @@ void ButtonFrame::Draw( OutputDevice& rDev )
sal_Bool bOldTransp = aFont.IsTransparent();
if ( !bOldTransp )
{
- aFont.SetTransparent( sal_True );
+ aFont.SetTransparent( true );
rDev.SetFont( aFont );
}
@@ -82,7 +82,7 @@ void ButtonFrame::Draw( OutputDevice& rDev )
// restore settings
if ( !bOldTransp )
{
- aFont.SetTransparent(sal_False);
+ aFont.SetTransparent(false);
rDev.SetFont( aFont );
}
if (m_bDrawDisabled)
diff --git a/svtools/source/brwbox/ebbcontrols.cxx b/svtools/source/brwbox/ebbcontrols.cxx
index 8407828a664a..57c951ac6e26 100644
--- a/svtools/source/brwbox/ebbcontrols.cxx
+++ b/svtools/source/brwbox/ebbcontrols.cxx
@@ -45,7 +45,7 @@ namespace svt
:ComboBox(pParent, nWinStyle|WB_DROPDOWN|WB_NOBORDER)
{
EnableAutoSize(false);
- EnableAutocomplete(sal_True);
+ EnableAutocomplete(true);
SetDropDownLineCount(5);
}
@@ -152,7 +152,7 @@ namespace svt
:ListBox(pParent, nWinStyle|WB_DROPDOWN|WB_NOBORDER)
{
EnableAutoSize(false);
- EnableMultiSelection(sal_False);
+ EnableMultiSelection(false);
SetDropDownLineCount(20);
}
@@ -252,7 +252,7 @@ namespace svt
SetBackground( rParentBackground );
else
{
- SetPaintTransparent( sal_True );
+ SetPaintTransparent( true );
SetBackground();
}
@@ -261,7 +261,7 @@ namespace svt
pBox = new TriStateBox(this,WB_CENTER|WB_VCENTER);
pBox->SetLegacyNoTextAlign( true );
pBox->EnableChildTransparentMode();
- pBox->SetPaintTransparent( sal_True );
+ pBox->SetPaintTransparent( true );
pBox->SetClickHdl( LINK( this, CheckBoxControl, OnClick ) );
pBox->Show();
}
@@ -535,7 +535,7 @@ namespace svt
//------------------------------------------------------------------
void MultiLineTextCell::Modify()
{
- GetTextEngine()->SetModified( sal_True );
+ GetTextEngine()->SetModified( true );
MultiLineEdit::Modify();
}
diff --git a/svtools/source/brwbox/editbrowsebox.cxx b/svtools/source/brwbox/editbrowsebox.cxx
index 98949a0527bd..135740c2f518 100644
--- a/svtools/source/brwbox/editbrowsebox.cxx
+++ b/svtools/source/brwbox/editbrowsebox.cxx
@@ -123,13 +123,13 @@ namespace svt
{
m_aImpl.reset(new EditBrowseBoxImpl());
- SetCompoundControl(sal_True);
+ SetCompoundControl(true);
SetGridLineColor( Color( COL_LIGHTGRAY ) );
ImplInitSettings(sal_True, sal_True, sal_True);
pCheckBoxPaint = new CheckBoxControl(&GetDataWindow());
- pCheckBoxPaint->SetPaintTransparent( sal_True );
+ pCheckBoxPaint->SetPaintTransparent( true );
pCheckBoxPaint->SetBackground();
}
@@ -210,7 +210,7 @@ namespace svt
{
pHeader = imp_CreateHeaderBar(pParent);
if (!IsUpdateMode())
- pHeader->SetUpdateMode(sal_False);
+ pHeader->SetUpdateMode(false);
return pHeader;
}
@@ -932,18 +932,18 @@ namespace svt
}
// don't paint during row change
- rWindow.EnablePaint(sal_False);
+ rWindow.EnablePaint(false);
// the last veto chance for derived classes
if (!pTHIS->CursorMoving(nNewRow, nNewColId))
{
pTHIS->InvalidateStatusCell(nEditRow);
- rWindow.EnablePaint(sal_True);
+ rWindow.EnablePaint(true);
return sal_False;
}
else
{
- rWindow.EnablePaint(sal_True);
+ rWindow.EnablePaint(true);
return sal_True;
}
}
@@ -988,7 +988,7 @@ namespace svt
nEditRow = nNewRow;
}
ActivateCell();
- GetDataWindow().EnablePaint(sal_True);
+ GetDataWindow().EnablePaint(true);
// should not be called here because the descant event is not needed here
//BrowseBox::CursorMoved();
}
@@ -1295,10 +1295,10 @@ namespace svt
*/
pCheckBoxPaint->GetBox().Enable(_bEnabled);
pCheckBoxPaint->Show();
- pCheckBoxPaint->SetParentUpdateMode( sal_False );
+ pCheckBoxPaint->SetParentUpdateMode( false );
pCheckBoxPaint->Update();
pCheckBoxPaint->Hide();
- pCheckBoxPaint->SetParentUpdateMode( sal_True );
+ pCheckBoxPaint->SetParentUpdateMode( true );
}
//------------------------------------------------------------------------------
diff --git a/svtools/source/config/accessibilityoptions.cxx b/svtools/source/config/accessibilityoptions.cxx
index 79b646e3600c..986ef274626b 100644
--- a/svtools/source/config/accessibilityoptions.cxx
+++ b/svtools/source/config/accessibilityoptions.cxx
@@ -81,7 +81,7 @@ public:
sal_Bool GetIsAllowAnimatedGraphics() const;
sal_Bool GetIsAllowAnimatedText() const;
sal_Bool GetIsAutomaticFontColor() const;
- sal_Bool GetIsSystemFont() const;
+ bool GetIsSystemFont() const;
sal_Int16 GetHelpTipSeconds() const;
sal_Bool IsSelectionInReadonly() const;
sal_Int16 GetEdgeBlending() const;
@@ -252,7 +252,7 @@ sal_Bool SvtAccessibilityOptions_Impl::GetIsAutomaticFontColor() const
return bRet;
}
-sal_Bool SvtAccessibilityOptions_Impl::GetIsSystemFont() const
+bool SvtAccessibilityOptions_Impl::GetIsSystemFont() const
{
css::uno::Reference< css::beans::XPropertySet > xNode(m_xCfg, css::uno::UNO_QUERY);
sal_Bool bRet = sal_True;
diff --git a/svtools/source/config/helpopt.cxx b/svtools/source/config/helpopt.cxx
index c3839a81fdbd..6ca2548cb6aa 100644
--- a/svtools/source/config/helpopt.cxx
+++ b/svtools/source/config/helpopt.cxx
@@ -69,9 +69,9 @@ public:
virtual void Commit();
void SetExtendedHelp( sal_Bool b ) { bExtendedHelp= b; SetModified(); }
- sal_Bool IsExtendedHelp() const { return bExtendedHelp; }
+ bool IsExtendedHelp() const { return bExtendedHelp; }
void SetHelpTips( sal_Bool b ) { bHelpTips = b; SetModified(); }
- sal_Bool IsHelpTips() const { return bHelpTips; }
+ bool IsHelpTips() const { return bHelpTips; }
void SetWelcomeScreen( sal_Bool b ) { bWelcomeScreen = b; SetModified(); }
sal_Bool IsWelcomeScreen() const { return bWelcomeScreen; }
@@ -291,7 +291,7 @@ void SvtHelpOptions::SetExtendedHelp( sal_Bool b )
pImp->SetExtendedHelp( b );
}
-sal_Bool SvtHelpOptions::IsExtendedHelp() const
+bool SvtHelpOptions::IsExtendedHelp() const
{
return pImp->IsExtendedHelp();
}
@@ -301,7 +301,7 @@ void SvtHelpOptions::SetHelpTips( sal_Bool b )
pImp->SetHelpTips( b );
}
-sal_Bool SvtHelpOptions::IsHelpTips() const
+bool SvtHelpOptions::IsHelpTips() const
{
return pImp->IsHelpTips();
}
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx
index 7723df81c477..4dc16d761463 100644
--- a/svtools/source/contnr/fileview.cxx
+++ b/svtools/source/contnr/fileview.cxx
@@ -866,7 +866,7 @@ PopupMenu* ViewTabListBox_Impl::CreateContextMenu( void )
= new PopupMenu( SvtResId( RID_FILEVIEW_CONTEXTMENU ) );
pRet->EnableItem( MID_FILEVIEW_DELETE, bEnableDelete );
pRet->EnableItem( MID_FILEVIEW_RENAME, bEnableRename );
- pRet->RemoveDisabledEntries( sal_True, sal_True );
+ pRet->RemoveDisabledEntries( true, true );
return pRet;
}
diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx
index f38925475c4f..42664629d06f 100644
--- a/svtools/source/contnr/imivctl1.cxx
+++ b/svtools/source/contnr/imivctl1.cxx
@@ -1862,7 +1862,7 @@ void SvxIconChoiceCtrl_Impl::PaintEntry( SvxIconChoiceCtrlEntry* pEntry, const P
if ( bShowSelection )
pView->DrawSelectionBackground( CalcFocusRect( pEntry ),
- bActiveSelection ? 1 : 2 /* highlight */, sal_False /* check */, sal_True /* border */, sal_False /* ext border only */ );
+ bActiveSelection ? 1 : 2 /* highlight */, false /* check */, true /* border */, false /* ext border only */ );
PaintItem( aBmpRect, IcnViewFieldTypeImage, pEntry, nBmpPaintFlags, pOut );
@@ -3322,7 +3322,7 @@ IcnViewEdit_Impl::IcnViewEdit_Impl( SvtIconChoiceCtrl* pParent, const Point& rPo
bGrabFocus( sal_False )
{
Font aFont( pParent->GetPointFont() );
- aFont.SetTransparent( sal_False );
+ aFont.SetTransparent( false );
SetControlFont( aFont );
if( !pParent->HasFontFillColor() )
{
diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx
index ca90c8453a81..ff8b5944277a 100644
--- a/svtools/source/contnr/svimpbox.cxx
+++ b/svtools/source/contnr/svimpbox.cxx
@@ -2656,7 +2656,7 @@ void ImpLBSelEng::DestroyAnchor()
pImp->pAnchor = 0;
}
-sal_Bool ImpLBSelEng::SetCursorAtPoint(const Point& rPoint, sal_Bool bDontSelectAtCursor)
+bool ImpLBSelEng::SetCursorAtPoint(const Point& rPoint, sal_Bool bDontSelectAtCursor)
{
SvTreeListEntry* pNewCursor = pImp->MakePointVisible( rPoint );
if( pNewCursor != pImp->pCursor )
@@ -2674,7 +2674,7 @@ sal_Bool ImpLBSelEng::SetCursorAtPoint(const Point& rPoint, sal_Bool bDontSelect
return false;
}
-sal_Bool ImpLBSelEng::IsSelectionAtPoint( const Point& rPoint )
+bool ImpLBSelEng::IsSelectionAtPoint( const Point& rPoint )
{
SvTreeListEntry* pEntry = pImp->MakePointVisible( rPoint );
if( pEntry )
diff --git a/svtools/source/contnr/templwin.cxx b/svtools/source/contnr/templwin.cxx
index ec0311da59c2..7fda4016df9f 100644
--- a/svtools/source/contnr/templwin.cxx
+++ b/svtools/source/contnr/templwin.cxx
@@ -717,7 +717,7 @@ void SvtFrameWindow_Impl::OpenFile( const OUString& rURL, sal_Bool bPreview, sal
// disabling must be done here, does not work in ctor because
// execute of the dialog will overwrite it
// ( own execute method would help )
- pTextWin->EnableInput( false, sal_True );
+ pTextWin->EnableInput( false, true );
if ( pTextWin->IsReallyVisible() )
{
sal_Bool b = sal_True;
@@ -1319,7 +1319,7 @@ void SvtTemplateWindow::ReadViewSettings()
// the selected view (details or preview)
pFrameWin->ToggleView( TI_DOCTEMPLATE_DOCINFO == nSelectedView );
- aFrameWinTB.CheckItem( (sal_uInt16)nSelectedView, sal_True );
+ aFrameWinTB.CheckItem( (sal_uInt16)nSelectedView, true );
// the split ratio
sal_Int32 nSplitFileAndFrameSize = aSplitWin.GetItemSize( FILEWIN_ID ) + aSplitWin.GetItemSize( FRAMEWIN_ID );
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index 2e27e1718ddb..89aa4e250fa6 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -138,7 +138,7 @@ SvInplaceEdit2::SvInplaceEdit2
pEdit = new MyEdit_Impl( pParent, this );
Font aFont( pParent->GetFont() );
- aFont.SetTransparent( sal_False );
+ aFont.SetTransparent( false );
Color aColor( pParent->GetBackground().GetColor() );
aFont.SetFillColor(aColor );
pEdit->SetFont( aFont );
@@ -1392,7 +1392,7 @@ void SvTreeListBox::StartDrag( sal_Int8, const Point& rPosPixel )
pDDTarget = 0;
sal_Bool bOldUpdateMode = Control::IsUpdateMode();
- Control::SetUpdateMode( sal_True );
+ Control::SetUpdateMode( true );
Update();
Control::SetUpdateMode( bOldUpdateMode );
@@ -2693,7 +2693,7 @@ void SvTreeListBox::SetFont( const Font& rFont )
Font aTempFont( rFont );
Font aOrigFont( GetFont() );
- aTempFont.SetTransparent( sal_True );
+ aTempFont.SetTransparent( true );
if (aTempFont == aOrigFont)
return;
Control::SetFont( aTempFont );
diff --git a/svtools/source/control/calendar.cxx b/svtools/source/control/calendar.cxx
index d1708d60b5e9..f9589b89bd4c 100644
--- a/svtools/source/control/calendar.cxx
+++ b/svtools/source/control/calendar.cxx
@@ -2485,7 +2485,7 @@ void CalendarField::Select()
// -----------------------------------------------------------------------
-sal_Bool CalendarField::ShowDropDown( sal_Bool bShow )
+bool CalendarField::ShowDropDown( sal_Bool bShow )
{
if ( bShow )
{
@@ -2530,7 +2530,7 @@ sal_Bool CalendarField::ShowDropDown( sal_Bool bShow )
mpCalendar->EndSelection();
EndDropDown();
}
- return sal_True;
+ return true;
}
// -----------------------------------------------------------------------
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index a75e2d555593..5997da3ed221 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -88,7 +88,7 @@ void ColorListBox::ImplInit()
const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings();
aImageSize = rStyleSettings.GetListBoxPreviewDefaultPixelSize();
- EnableUserDraw( sal_True );
+ EnableUserDraw( true );
SetUserItemSize( aImageSize );
}
@@ -308,13 +308,13 @@ void ColorListBox::UserDraw( const UserDrawEvent& rUDEvt )
}
}
- ListBox::DrawEntry( rUDEvt, sal_False, sal_True, sal_False );
+ ListBox::DrawEntry( rUDEvt, false, true, false );
}
else
- ListBox::DrawEntry( rUDEvt, sal_False, sal_True, sal_True );
+ ListBox::DrawEntry( rUDEvt, false, true, true );
}
else
- ListBox::DrawEntry( rUDEvt, sal_True, sal_True, sal_False );
+ ListBox::DrawEntry( rUDEvt, true, true, false );
}
// =======================================================================
@@ -921,7 +921,7 @@ sal_Bool LineListBox::UpdatePaintLineColor( void )
void LineListBox::UpdateEntries( long nOldWidth )
{
- SetUpdateMode( sal_False );
+ SetUpdateMode( false );
UpdatePaintLineColor( );
@@ -960,7 +960,7 @@ void LineListBox::UpdateEntries( long nOldWidth )
n++;
}
- SetUpdateMode( sal_True );
+ SetUpdateMode( true );
Invalidate();
}
@@ -1391,11 +1391,11 @@ void FontNameBox::UserDraw( const UserDrawEvent& rUDEvt )
}
rUDEvt.GetDevice()->SetFont( aOldFont );
- DrawEntry( rUDEvt, sal_False, sal_False); // draw separator
+ DrawEntry( rUDEvt, false, false); // draw separator
}
else
{
- DrawEntry( rUDEvt, sal_True, sal_True );
+ DrawEntry( rUDEvt, true, true );
}
}
@@ -1669,7 +1669,7 @@ FontSizeBox::~FontSizeBox()
void FontSizeBox::ImplInit()
{
- EnableAutocomplete( sal_False );
+ EnableAutocomplete( false );
bRelativeMode = sal_False;
bPtRelative = sal_False;
@@ -1677,7 +1677,7 @@ void FontSizeBox::ImplInit()
bStdSize = sal_False;
pFontList = NULL;
- SetShowTrailingZeros( sal_False );
+ SetShowTrailingZeros( false );
SetDecimalDigits( 1 );
SetMin( 20 );
SetMax( 9999 );
@@ -1957,7 +1957,7 @@ void FontSizeBox::SetValue( sal_Int64 nNewValue, FieldUnit eInUnit )
mnLastValue = nTempValue;
SetText( aName );
mnFieldValue = mnLastValue;
- SetEmptyFieldValueData( sal_False );
+ SetEmptyFieldValueData( false );
return;
}
}
diff --git a/svtools/source/control/filectrl.cxx b/svtools/source/control/filectrl.cxx
index 19856d2c8d75..75c38696eb86 100644
--- a/svtools/source/control/filectrl.cxx
+++ b/svtools/source/control/filectrl.cxx
@@ -48,7 +48,7 @@ FileControl::FileControl( Window* pParent, WinBits nStyle, FileControlMode nFlag
maButton.Show();
maEdit.Show();
- SetCompoundControl( sal_True );
+ SetCompoundControl( true );
SetStyle( ImplInitStyle( GetStyle() ) );
}
diff --git a/svtools/source/control/headbar.cxx b/svtools/source/control/headbar.cxx
index 1a25cbe05f8c..7df2ec124bf0 100644
--- a/svtools/source/control/headbar.cxx
+++ b/svtools/source/control/headbar.cxx
@@ -385,9 +385,9 @@ void HeaderBar::ImplDrawItem( OutputDevice* pDev,
// draw ButtonStyle
// avoid 3D borders
if( bHigh )
- DrawSelectionBackground( aRect, 1, sal_True, sal_False, sal_False, &aSelectionTextColor );
+ DrawSelectionBackground( aRect, 1, true, false, false, &aSelectionTextColor );
else if ( !mbButtonStyle || (nBits & HIB_FLAT) )
- DrawSelectionBackground( aRect, 0, sal_True, sal_False, sal_False, &aSelectionTextColor );
+ DrawSelectionBackground( aRect, 0, true, false, false, &aSelectionTextColor );
}
// do not draw if there is no space
diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx
index d527408ce235..ac0529c6399a 100644
--- a/svtools/source/control/inettbc.cxx
+++ b/svtools/source/control/inettbc.cxx
@@ -895,7 +895,7 @@ void SvtURLBox::Init(bool bSetDefaultHelpID)
if (bSetDefaultHelpID && GetHelpId().isEmpty())
SetHelpId( ".uno:OpenURL" );
- EnableAutocomplete( sal_False );
+ EnableAutocomplete( false );
SetText( OUString() );
diff --git a/svtools/source/control/roadmap.cxx b/svtools/source/control/roadmap.cxx
index d75d61456b50..dc4ea873e5d3 100644
--- a/svtools/source/control/roadmap.cxx
+++ b/svtools/source/control/roadmap.cxx
@@ -228,7 +228,7 @@ namespace svt
// on this with calculating a new bold font.
// Unfortunately, the OutputDevice does not offer a notify mechanism for a changed font.
// So settings the font from outside is simply a forbidded scenario at the moment
- EnableMapMode( sal_False );
+ EnableMapMode( false );
}
//---------------------------------------------------------------------
@@ -617,7 +617,7 @@ namespace svt
// draw it
DrawText( Rectangle( aTextPos, aOutputSize ), GetText(), TEXT_DRAW_LEFT | TEXT_DRAW_TOP | TEXT_DRAW_MULTILINE | TEXT_DRAW_WORDBREAK );
- DrawTextLine( aTextPos, aOutputSize.Width(), STRIKEOUT_NONE, UNDERLINE_SINGLE, UNDERLINE_NONE, sal_False );
+ DrawTextLine( aTextPos, aOutputSize.Width(), STRIKEOUT_NONE, UNDERLINE_SINGLE, UNDERLINE_NONE, false );
const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings();
SetLineColor( rStyleSettings.GetFieldTextColor());
SetTextColor(rStyleSettings.GetFieldTextColor());
diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx
index 0778237b06d0..115eea59abe4 100644
--- a/svtools/source/control/ruler.cxx
+++ b/svtools/source/control/ruler.cxx
@@ -216,7 +216,7 @@ void Ruler::ImplInit( WinBits nWinBits )
// --- RTL --- no UI mirroring for horizontal rulers, because
// the document is also not mirrored
- EnableRTL( sal_False );
+ EnableRTL( false );
}
// Variablen initialisieren
@@ -1133,7 +1133,7 @@ void Ruler::ImplFormat()
aVirDevSize.Width() = mnVirHeight;
}
if ( aVirDevSize != maVirDev.GetOutputSizePixel() )
- maVirDev.SetOutputSizePixel( aVirDevSize, sal_True );
+ maVirDev.SetOutputSizePixel( aVirDevSize, true );
else
maVirDev.Erase();
diff --git a/svtools/source/control/stdmenu.cxx b/svtools/source/control/stdmenu.cxx
index 04fbe3e0da7c..a8c08377619d 100644
--- a/svtools/source/control/stdmenu.cxx
+++ b/svtools/source/control/stdmenu.cxx
@@ -106,13 +106,13 @@ void FontNameMenu::SetCurName(const OUString& rName)
OUString aText = GetItemText( nItemId );
if ( aText == maCurName )
{
- CheckItem( nItemId, sal_True );
+ CheckItem( nItemId, true );
return;
}
}
if ( nChecked )
- CheckItem( nChecked, sal_False );
+ CheckItem( nChecked, false );
}
// ========================================================================
@@ -219,7 +219,7 @@ void FontSizeMenu::Fill( const FontInfo& rInfo, const FontList* pList )
{
mpHeightAry[nPos] = *pTempAry;
nPos++; // Id is nPos+1
- InsertItem( nPos, rI18nHelper.GetNum( *pTempAry, 1, sal_True, sal_False ), MIB_RADIOCHECK | MIB_AUTOCHECK );
+ InsertItem( nPos, rI18nHelper.GetNum( *pTempAry, 1, true, false ), MIB_RADIOCHECK | MIB_AUTOCHECK );
pTempAry++;
}
@@ -241,7 +241,7 @@ void FontSizeMenu::SetCurHeight( long nHeight )
if ( mpHeightAry[i] == nHeight )
{
- CheckItem( nItemId, sal_True );
+ CheckItem( nItemId, true );
return;
}
@@ -250,7 +250,7 @@ void FontSizeMenu::SetCurHeight( long nHeight )
}
if ( nChecked )
- CheckItem( nChecked, sal_False );
+ CheckItem( nChecked, false );
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx
index 16d7c7a4a0a6..382ca95c879b 100644
--- a/svtools/source/control/tabbar.cxx
+++ b/svtools/source/control/tabbar.cxx
@@ -334,7 +334,7 @@ IMPL_LINK( TabBarEdit, ImplEndEditHdl, void*, pCancel )
// We need this query, because the edit get a losefous event,
// when it shows the context menu or the insert symbol dialog
- if ( !HasFocus() && HasChildPathFocus( sal_True ) )
+ if ( !HasFocus() && HasChildPathFocus( true ) )
{
maLoseFocusTimer.SetTimeout( 30 );
maLoseFocusTimer.SetTimeoutHdl( LINK( this, TabBarEdit, ImplEndTimerHdl ) );
@@ -355,7 +355,7 @@ IMPL_LINK_NOARG(TabBarEdit, ImplEndTimerHdl)
// We need this query, because the edit get a losefous event,
// when it shows the context menu or the insert symbol dialog
- if ( HasChildPathFocus( sal_True ) )
+ if ( HasChildPathFocus( true ) )
maLoseFocusTimer.Start();
else
GetParent()->EndEditMode( sal_True );
diff --git a/svtools/source/control/toolbarmenu.cxx b/svtools/source/control/toolbarmenu.cxx
index 9c394116c310..a6965112c8e8 100644
--- a/svtools/source/control/toolbarmenu.cxx
+++ b/svtools/source/control/toolbarmenu.cxx
@@ -140,7 +140,7 @@ const Reference< XAccessibleContext >& ToolbarMenuEntry::GetAccessible( bool bCr
{
if( mpControl )
{
- mxAccContext = Reference< XAccessibleContext >( mpControl->GetAccessible( sal_True ), UNO_QUERY );
+ mxAccContext = Reference< XAccessibleContext >( mpControl->GetAccessible( true ), UNO_QUERY );
}
else
{
@@ -920,7 +920,7 @@ void ToolbarMenu::implHighlightEntry( int nHighlightEntry, bool bHighlight )
if( bHighlight && IsNativeControlSupported( CTRL_MENU_POPUP, PART_MENU_ITEM ) )
{
bDrawItemRect = false;
- if( sal_False == DrawNativeControl( CTRL_MENU_POPUP, PART_MENU_ITEM,
+ if( !DrawNativeControl( CTRL_MENU_POPUP, PART_MENU_ITEM,
aItemRect,
CTRL_STATE_SELECTED | ( pEntry->mbEnabled? CTRL_STATE_ENABLED: 0 ),
ImplControlValue(),
@@ -1308,7 +1308,7 @@ static void ImplPaintCheckBackground( Window* i_pWindow, const Rectangle& i_rRec
{
const StyleSettings& rSettings = i_pWindow->GetSettings().GetStyleSettings();
Color aColor( i_bHighlight ? rSettings.GetMenuHighlightTextColor() : rSettings.GetHighlightColor() );
- i_pWindow->DrawSelectionBackground( i_rRect, 0, i_bHighlight, sal_True, sal_False, 2, NULL, &aColor );
+ i_pWindow->DrawSelectionBackground( i_rRect, 0, i_bHighlight, true, false, 2, NULL, &aColor );
}
}
diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx
index 934dba08407a..c661b268189e 100644
--- a/svtools/source/control/valueset.cxx
+++ b/svtools/source/control/valueset.cxx
@@ -130,7 +130,7 @@ ValueSet::ValueSet( Window* pParent, const ResId& rResId, bool bDisableTransient
ValueSet::~ValueSet()
{
::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent>
- xComponent (GetAccessible(sal_False), ::com::sun::star::uno::UNO_QUERY);
+ xComponent (GetAccessible(false), ::com::sun::star::uno::UNO_QUERY);
if (xComponent.is())
xComponent->dispose ();
@@ -505,7 +505,7 @@ void ValueSet::Format()
// Init VirDev
maVirDev.SetSettings( GetSettings() );
maVirDev.SetBackground( GetBackground() );
- maVirDev.SetOutputSizePixel( aWinSize, sal_True );
+ maVirDev.SetOutputSizePixel( aWinSize, true );
// nothing is changed in case of too small items
if ( (mnItemWidth <= 0) ||
@@ -1126,7 +1126,7 @@ sal_uInt16 ValueSet::ImplGetVisibleItemCount() const
void ValueSet::ImplFireAccessibleEvent( short nEventId, const ::com::sun::star::uno::Any& rOldValue, const ::com::sun::star::uno::Any& rNewValue )
{
- ValueSetAcc* pAcc = ValueSetAcc::getImplementation( GetAccessible( sal_False ) );
+ ValueSetAcc* pAcc = ValueSetAcc::getImplementation( GetAccessible( false ) );
if( pAcc )
pAcc->FireAccessibleEvent( nEventId, rOldValue, rNewValue );
@@ -1136,7 +1136,7 @@ void ValueSet::ImplFireAccessibleEvent( short nEventId, const ::com::sun::star::
bool ValueSet::ImplHasAccessibleListeners()
{
- ValueSetAcc* pAcc = ValueSetAcc::getImplementation( GetAccessible( sal_False ) );
+ ValueSetAcc* pAcc = ValueSetAcc::getImplementation( GetAccessible( false ) );
return( pAcc && pAcc->HasAccessibleListeners() );
}
@@ -1498,7 +1498,7 @@ void ValueSet::GetFocus()
Control::GetFocus();
// Tell the accessible object that we got the focus.
- ValueSetAcc* pAcc = ValueSetAcc::getImplementation( GetAccessible( sal_False ) );
+ ValueSetAcc* pAcc = ValueSetAcc::getImplementation( GetAccessible( false ) );
if( pAcc )
pAcc->GetFocus();
}
@@ -1515,7 +1515,7 @@ void ValueSet::LoseFocus()
Control::LoseFocus();
// Tell the accessible object that we lost the focus.
- ValueSetAcc* pAcc = ValueSetAcc::getImplementation( GetAccessible( sal_False ) );
+ ValueSetAcc* pAcc = ValueSetAcc::getImplementation( GetAccessible( false ) );
if( pAcc )
pAcc->LoseFocus();
}
diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx
index 75ee7d760030..c623be09debe 100644
--- a/svtools/source/dialogs/addresstemplate.cxx
+++ b/svtools/source/dialogs/addresstemplate.cxx
@@ -668,8 +668,8 @@ void AssignmentPersistentData::Commit()
// some knittings
m_pFieldScroller->SetScrollHdl(LINK(this, AddressBookSourceDialog, OnFieldScroll));
m_pAdministrateDatasources->SetClickHdl(LINK(this, AddressBookSourceDialog, OnAdministrateDatasources));
- m_pDatasource->EnableAutocomplete(sal_True);
- m_pTable->EnableAutocomplete(sal_True);
+ m_pDatasource->EnableAutocomplete(true);
+ m_pTable->EnableAutocomplete(true);
m_pTable->SetGetFocusHdl(LINK(this, AddressBookSourceDialog, OnComboGetFocus));
m_pDatasource->SetGetFocusHdl(LINK(this, AddressBookSourceDialog, OnComboGetFocus));
m_pTable->SetLoseFocusHdl(LINK(this, AddressBookSourceDialog, OnComboLoseFocus));
diff --git a/svtools/source/dialogs/wizdlg.cxx b/svtools/source/dialogs/wizdlg.cxx
index 51bbd19e605c..48440f2fefb6 100644
--- a/svtools/source/dialogs/wizdlg.cxx
+++ b/svtools/source/dialogs/wizdlg.cxx
@@ -462,8 +462,8 @@ bool WizardDialog::Notify( NotifyEvent& rNEvt )
if ( mpPrevBtn->IsVisible() &&
mpPrevBtn->IsEnabled() && mpPrevBtn->IsInputEnabled() )
{
- mpPrevBtn->SetPressed( sal_True );
- mpPrevBtn->SetPressed( sal_False );
+ mpPrevBtn->SetPressed( true );
+ mpPrevBtn->SetPressed( false );
mpPrevBtn->Click();
}
return true;
@@ -476,8 +476,8 @@ bool WizardDialog::Notify( NotifyEvent& rNEvt )
if ( mpNextBtn->IsVisible() &&
mpNextBtn->IsEnabled() && mpNextBtn->IsInputEnabled() )
{
- mpNextBtn->SetPressed( sal_True );
- mpNextBtn->SetPressed( sal_False );
+ mpNextBtn->SetPressed( true );
+ mpNextBtn->SetPressed( false );
mpNextBtn->Click();
}
return true;
diff --git a/svtools/source/edit/editsyntaxhighlighter.cxx b/svtools/source/edit/editsyntaxhighlighter.cxx
index f62a428fcad4..94030456e41b 100644
--- a/svtools/source/edit/editsyntaxhighlighter.cxx
+++ b/svtools/source/edit/editsyntaxhighlighter.cxx
@@ -97,10 +97,10 @@ void MultiLineEditSyntaxHighlight::DoBracketHilight(sal_uInt16 nKey)
{
if (!nCount)
{
- GetTextEngine()->SetAttrib( TextAttribFontWeight( WEIGHT_ULTRABOLD ), nPara, i, i+1, sal_True );
- GetTextEngine()->SetAttrib( TextAttribFontColor( Color(0,0,0) ), nPara, i, i+1, sal_True );
- GetTextEngine()->SetAttrib( TextAttribFontWeight( WEIGHT_ULTRABOLD ), nStartPara, nStartPos, nStartPos, sal_True );
- GetTextEngine()->SetAttrib( TextAttribFontColor( Color(0,0,0) ), nStartPara, nStartPos, nStartPos, sal_True );
+ GetTextEngine()->SetAttrib( TextAttribFontWeight( WEIGHT_ULTRABOLD ), nPara, i, i+1, true );
+ GetTextEngine()->SetAttrib( TextAttribFontColor( Color(0,0,0) ), nPara, i, i+1, true );
+ GetTextEngine()->SetAttrib( TextAttribFontWeight( WEIGHT_ULTRABOLD ), nStartPara, nStartPos, nStartPos, true );
+ GetTextEngine()->SetAttrib( TextAttribFontColor( Color(0,0,0) ), nStartPara, nStartPos, nStartPos, true );
return;
}
else
@@ -170,13 +170,13 @@ void MultiLineEditSyntaxHighlight::UpdateData()
for (unsigned int nLine=0; nLine < GetTextEngine()->GetParagraphCount(); nLine++)
{
OUString aLine( GetTextEngine()->GetText( nLine ) );
- GetTextEngine()->RemoveAttribs( nLine, sal_True );
+ GetTextEngine()->RemoveAttribs( nLine, true );
std::vector<HighlightPortion> aPortions;
aHighlighter.getHighlightPortions( aLine, aPortions );
for (std::vector<HighlightPortion>::iterator i(aPortions.begin());
i != aPortions.end(); ++i)
{
- GetTextEngine()->SetAttrib( TextAttribFontColor( GetColorValue(i->tokenType) ), nLine, i->nBegin, i->nEnd, sal_True );
+ GetTextEngine()->SetAttrib( TextAttribFontColor( GetColorValue(i->tokenType) ), nLine, i->nBegin, i->nEnd, true );
}
}
GetTextView()->ShowCursor( false, true );
diff --git a/svtools/source/edit/svmedit2.cxx b/svtools/source/edit/svmedit2.cxx
index 2e71b0d48c43..56d4c5e568ce 100644
--- a/svtools/source/edit/svmedit2.cxx
+++ b/svtools/source/edit/svmedit2.cxx
@@ -41,7 +41,7 @@ ExtMultiLineEdit::~ExtMultiLineEdit()
void ExtMultiLineEdit::InsertText( const OUString& rNew, sal_Bool )
{
- GetTextView()->InsertText( rNew, sal_False );
+ GetTextView()->InsertText( rNew, false );
}
void ExtMultiLineEdit::SetAutoScroll( sal_Bool bAutoScroll )
diff --git a/svtools/source/filter/SvFilterOptionsDialog.cxx b/svtools/source/filter/SvFilterOptionsDialog.cxx
index 1f9c0cc33d60..0893e64c5f9a 100644
--- a/svtools/source/filter/SvFilterOptionsDialog.cxx
+++ b/svtools/source/filter/SvFilterOptionsDialog.cxx
@@ -236,7 +236,7 @@ sal_Int16 SvFilterOptionsDialog::execute()
}
if ( !aInternalFilterName.isEmpty() )
{
- GraphicFilter aGraphicFilter( sal_True );
+ GraphicFilter aGraphicFilter( true );
sal_uInt16 nFormat, nFilterCount = aGraphicFilter.GetExportFormatCount();
for ( nFormat = 0; nFormat < nFilterCount; nFormat++ )
diff --git a/svtools/source/filter/exportdialog.cxx b/svtools/source/filter/exportdialog.cxx
index f880b125a82f..e8d359cfa6e9 100644
--- a/svtools/source/filter/exportdialog.cxx
+++ b/svtools/source/filter/exportdialog.cxx
@@ -504,7 +504,7 @@ Bitmap ExportDialog::GetGraphicBitmap( SvStream& rInputStream )
{
Bitmap aRet;
Graphic aGraphic;
- GraphicFilter aFilter( sal_False );
+ GraphicFilter aFilter( false );
if ( aFilter.ImportGraphic( aGraphic, "", rInputStream, GRFILTER_FORMAT_NOTFOUND, NULL, 0, static_cast<com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >*>(NULL), NULL ) == GRFILTER_OK )
{
aRet = aGraphic.GetBitmap();
@@ -767,7 +767,7 @@ void ExportDialog::createFilterOptions()
mpNfCompression->SetMin( 1 );
mpNfCompression->SetMax( 100 );
mpNfCompression->SetValue( nQuality );
- mpNfCompression->SetStrictFormat( sal_True );
+ mpNfCompression->SetStrictFormat( true );
}
break;
case FORMAT_PNG :
@@ -785,7 +785,7 @@ void ExportDialog::createFilterOptions()
mpNfCompression->SetMin( 1 );
mpNfCompression->SetMax( 9 );
mpNfCompression->SetValue( 9 );
- mpNfCompression->SetStrictFormat( sal_True );
+ mpNfCompression->SetStrictFormat( true );
// Interlaced
mpMode->Show();
@@ -815,7 +815,7 @@ void ExportDialog::createFilterOptions()
// RLE coding
mpBMPCompression->Show();
- mpCbRLEEncoding->Check(mpFilterOptionsItem->ReadBool(OUString("RLE_Coding"), sal_True));
+ mpCbRLEEncoding->Check(mpFilterOptionsItem->ReadBool(OUString("RLE_Coding"), true));
}
break;
case FORMAT_GIF :
@@ -974,7 +974,7 @@ void ExportDialog::updateControls()
// EPS
if ( mpRbEPSLevel1->IsVisible() )
{
- sal_Bool bEnabled = mpRbEPSLevel1->IsChecked() == sal_False;
+ sal_Bool bEnabled = !mpRbEPSLevel1->IsChecked();
mpRbEPSColorFormat1->Enable( bEnabled );
mpRbEPSColorFormat2->Enable( bEnabled );
mpRbEPSCompressionLZW->Enable( bEnabled );
diff --git a/svtools/source/graphic/grfmgr2.cxx b/svtools/source/graphic/grfmgr2.cxx
index de9fee5c9d7b..ea953e9ea18b 100644
--- a/svtools/source/graphic/grfmgr2.cxx
+++ b/svtools/source/graphic/grfmgr2.cxx
@@ -1629,7 +1629,7 @@ bool GraphicObject::ImplRenderTempTile( VirtualDevice& rVDev, int nExponent,
// #105229# Switch off mapping (converting to logic and back to
// pixel might cause roundoff errors)
sal_Bool bOldMap( rVDev.IsMapModeEnabled() );
- rVDev.EnableMapMode( sal_False );
+ rVDev.EnableMapMode( false );
bool bRet( ImplRenderTileRecursive( rVDev, nExponent, nMSBFactor, nNumTilesX, nNumTilesY,
nNumTilesX, nNumTilesY, rTileSizePixel, pAttr, nFlags, aTileInfo ) );
@@ -1947,7 +1947,7 @@ bool GraphicObject::ImplDrawTiled( OutputDevice& rOut, const Point& rPosPixel,
bool bOldMap( rOut.IsMapModeEnabled() );
if( bDrawInPixel )
- rOut.EnableMapMode( sal_False );
+ rOut.EnableMapMode( false );
for( nY=0; nY < nNumTilesY; ++nY )
{
diff --git a/svtools/source/graphic/provider.cxx b/svtools/source/graphic/provider.cxx
index 1abe65c55433..f4030333ff78 100644
--- a/svtools/source/graphic/provider.cxx
+++ b/svtools/source/graphic/provider.cxx
@@ -649,7 +649,7 @@ void ImplApplyFilterData( ::Graphic& rGraphic, uno::Sequence< beans::PropertyVal
MapMode aNewMapMode( MAP_100TH_MM );
aNewMapMode.SetScaleX( static_cast< double >( aLogicalSize.Width ) / static_cast< double >( aMtfSize.Width() ) );
aNewMapMode.SetScaleY( static_cast< double >( aLogicalSize.Height ) / static_cast< double >( aMtfSize.Height() ) );
- aDummyVDev.EnableOutput( sal_False );
+ aDummyVDev.EnableOutput( false );
aDummyVDev.SetMapMode( aNewMapMode );
for( size_t i = 0, nObjCount = aMtf.GetActionSize(); i < nObjCount; i++ )
diff --git a/svtools/source/hatchwindow/ipwin.cxx b/svtools/source/hatchwindow/ipwin.cxx
index 2b10a72a0597..ee7ba35e401f 100644
--- a/svtools/source/hatchwindow/ipwin.cxx
+++ b/svtools/source/hatchwindow/ipwin.cxx
@@ -632,7 +632,7 @@ bool SvResizeWindow::Notify( NotifyEvent& rEvt )
{
if ( rEvt.GetType() == EVENT_LOSEFOCUS && m_bActive )
{
- sal_Bool bHasFocus = HasChildPathFocus(sal_True);
+ sal_Bool bHasFocus = HasChildPathFocus(true);
if ( !bHasFocus )
{
m_bActive = sal_False;
diff --git a/svtools/source/inc/svimpbox.hxx b/svtools/source/inc/svimpbox.hxx
index c0c00a927826..3a407d3d0e38 100644
--- a/svtools/source/inc/svimpbox.hxx
+++ b/svtools/source/inc/svimpbox.hxx
@@ -56,9 +56,9 @@ public:
void BeginDrag();
void CreateAnchor();
void DestroyAnchor();
- sal_Bool SetCursorAtPoint( const Point& rPoint,
+ bool SetCursorAtPoint( const Point& rPoint,
sal_Bool bDontSelectAtCursor=sal_False );
- sal_Bool IsSelectionAtPoint( const Point& rPoint );
+ bool IsSelectionAtPoint( const Point& rPoint );
void DeselectAtPoint( const Point& rPoint );
void DeselectAll();
};
diff --git a/svtools/source/table/tablecontrol_impl.cxx b/svtools/source/table/tablecontrol_impl.cxx
index eb1237af43f7..81334babb123 100644
--- a/svtools/source/table/tablecontrol_impl.cxx
+++ b/svtools/source/table/tablecontrol_impl.cxx
@@ -1774,7 +1774,7 @@ namespace svt { namespace table
invalidateRow( m_nCurRow );
}
}
- m_pSelEngine->SetAnchor(sal_True);
+ m_pSelEngine->SetAnchor(true);
m_nAnchor = m_nCurRow;
ensureVisible(m_nCurColumn, m_nCurRow, false);
selectionChanged = true;
@@ -1855,7 +1855,7 @@ namespace svt { namespace table
invalidateRow( m_nCurRow );
}
}
- m_pSelEngine->SetAnchor(sal_True);
+ m_pSelEngine->SetAnchor(true);
m_nAnchor = m_nCurRow;
ensureVisible(m_nCurColumn, m_nCurRow, false);
selectionChanged = true;
@@ -1884,7 +1884,7 @@ namespace svt { namespace table
}
m_nCurRow = 0;
m_nAnchor = m_nCurRow;
- m_pSelEngine->SetAnchor(sal_True);
+ m_pSelEngine->SetAnchor(true);
ensureVisible(m_nCurColumn, 0, false);
selectionChanged = true;
bSuccess = true;
@@ -1910,7 +1910,7 @@ namespace svt { namespace table
}
m_nCurRow = m_nRowCount-1;
m_nAnchor = m_nCurRow;
- m_pSelEngine->SetAnchor(sal_True);
+ m_pSelEngine->SetAnchor(true);
ensureVisible(m_nCurColumn, m_nRowCount-1, false);
selectionChanged = true;
bSuccess = true;
@@ -2780,7 +2780,7 @@ namespace svt { namespace table
}
//------------------------------------------------------------------------------------------------------------------
- sal_Bool TableFunctionSet::SetCursorAtPoint(const Point& rPoint, sal_Bool bDontSelectAtCursor)
+ bool TableFunctionSet::SetCursorAtPoint(const Point& rPoint, sal_Bool bDontSelectAtCursor)
{
sal_Bool bHandled = sal_False;
// newRow is the row which includes the point, getCurRow() is the last selected row, before the mouse click
@@ -2793,12 +2793,12 @@ namespace svt { namespace table
newCol = m_pTableControl->getLeftColumn();
if ( ( newRow == ROW_INVALID ) || ( newCol == COL_INVALID ) )
- return sal_False;
+ return false;
if ( bDontSelectAtCursor )
{
if ( m_pTableControl->getSelectedRowCount() > 1 )
- m_pTableControl->getSelEngine()->AddAlways(sal_True);
+ m_pTableControl->getSelEngine()->AddAlways(true);
bHandled = sal_True;
}
else if ( m_pTableControl->getAnchor() == m_pTableControl->getCurRow() )
@@ -2849,7 +2849,7 @@ namespace svt { namespace table
}
}
if ( m_pTableControl->getSelectedRowCount() > 1 && m_pTableControl->getSelEngine()->GetSelectionMode() != SINGLE_SELECTION )
- m_pTableControl->getSelEngine()->AddAlways(sal_True);
+ m_pTableControl->getSelEngine()->AddAlways(true);
m_pTableControl->invalidateRow( newRow );
bHandled = sal_True;
@@ -2858,11 +2858,11 @@ namespace svt { namespace table
return bHandled;
}
//------------------------------------------------------------------------------------------------------------------
- sal_Bool TableFunctionSet::IsSelectionAtPoint( const Point& rPoint )
+ bool TableFunctionSet::IsSelectionAtPoint( const Point& rPoint )
{
- m_pTableControl->getSelEngine()->AddAlways(sal_False);
+ m_pTableControl->getSelEngine()->AddAlways(false);
if ( !m_pTableControl->hasRowSelection() )
- return sal_False;
+ return false;
else
{
RowPos curRow = m_pTableControl->getRowAtPoint( rPoint );
diff --git a/svtools/source/table/tablecontrol_impl.hxx b/svtools/source/table/tablecontrol_impl.hxx
index 9d43ea3e8825..58c7ec9cf7c1 100644
--- a/svtools/source/table/tablecontrol_impl.hxx
+++ b/svtools/source/table/tablecontrol_impl.hxx
@@ -496,8 +496,8 @@ namespace svt { namespace table
virtual void BeginDrag();
virtual void CreateAnchor();
virtual void DestroyAnchor();
- virtual sal_Bool SetCursorAtPoint(const Point& rPoint, sal_Bool bDontSelectAtCursor);
- virtual sal_Bool IsSelectionAtPoint( const Point& rPoint );
+ virtual bool SetCursorAtPoint(const Point& rPoint, sal_Bool bDontSelectAtCursor);
+ virtual bool IsSelectionAtPoint( const Point& rPoint );
virtual void DeselectAtPoint( const Point& rPoint );
virtual void DeselectAll();
};
diff --git a/svtools/source/toolpanel/drawerlayouter.cxx b/svtools/source/toolpanel/drawerlayouter.cxx
index af1aaeb89927..ce92da80cc72 100644
--- a/svtools/source/toolpanel/drawerlayouter.cxx
+++ b/svtools/source/toolpanel/drawerlayouter.cxx
@@ -137,10 +137,10 @@ namespace svt
const PToolPanelDrawer pDrawer( m_aDrawers[ i_nChildIndex ] );
- Reference< XAccessible > xItemAccessible = pDrawer->GetAccessible( sal_False );
+ Reference< XAccessible > xItemAccessible = pDrawer->GetAccessible( false );
if ( !xItemAccessible.is() )
{
- xItemAccessible = pDrawer->GetAccessible( sal_True );
+ xItemAccessible = pDrawer->GetAccessible( true );
ENSURE_OR_RETURN( xItemAccessible.is(), "illegal accessible provided by the drawer implementation!", NULL );
OSL_VERIFY( ::comphelper::OAccessibleImplementationAccess::setAccessibleParent( xItemAccessible->getAccessibleContext(),
i_rParentAccessible ) );
diff --git a/svtools/source/toolpanel/paneltabbar.cxx b/svtools/source/toolpanel/paneltabbar.cxx
index 40c6adff240f..f041b33057f3 100644
--- a/svtools/source/toolpanel/paneltabbar.cxx
+++ b/svtools/source/toolpanel/paneltabbar.cxx
@@ -165,8 +165,8 @@ namespace svt
aSelectionRect,
( bHovered || bFocused ) ? ( bActive ? 1 : 2 ) : 0 /* hilight */,
bActive /* check */,
- sal_True /* border */,
- sal_False /* ext border only */,
+ true /* border */,
+ false /* ext border only */,
0 /* corner radius */,
NULL,
NULL
@@ -686,7 +686,7 @@ namespace svt
Font aFont( m_rTabBar.GetFont() );
aFont.SetOrientation( 2700 );
- aFont.SetVertical( sal_True );
+ aFont.SetVertical( true );
m_rTabBar.SetFont( aFont );
aTextPos.X() += aTextSize.Height();
@@ -788,7 +788,7 @@ namespace svt
return;
}
- m_rTabBar.SetUpdateMode( sal_False );
+ m_rTabBar.SetUpdateMode( false );
// the aligned bounding and content rect
const Rectangle aActualBounds = m_aNormalizer.getTransformed( aNormalizedBounds, m_eTabAlignment );
@@ -806,7 +806,7 @@ namespace svt
// render item "foreground" layer
m_pRenderer->postRenderItem( m_rTabBar, aActualBounds, nItemFlags );
- m_rTabBar.SetUpdateMode( sal_True );
+ m_rTabBar.SetUpdateMode( true );
}
//------------------------------------------------------------------------------------------------------------------
diff --git a/svtools/source/toolpanel/tablayouter.cxx b/svtools/source/toolpanel/tablayouter.cxx
index bd38da4e4592..2d7cafa89a44 100644
--- a/svtools/source/toolpanel/tablayouter.cxx
+++ b/svtools/source/toolpanel/tablayouter.cxx
@@ -200,7 +200,7 @@ namespace svt
if ( lcl_checkDisposed( *m_pData ) )
return NULL;
- return m_pData->pTabBar->GetAccessible( sal_True );
+ return m_pData->pTabBar->GetAccessible( true );
}
//........................................................................
diff --git a/svtools/source/toolpanel/toolpaneldrawer.cxx b/svtools/source/toolpanel/toolpaneldrawer.cxx
index c39462f27e80..bd1fef83d577 100644
--- a/svtools/source/toolpanel/toolpaneldrawer.cxx
+++ b/svtools/source/toolpanel/toolpaneldrawer.cxx
@@ -50,7 +50,7 @@ namespace svt
:Window( &i_rParent )
,m_rDrawer( i_rParent )
{
- SetMouseTransparent( sal_True );
+ SetMouseTransparent( true );
Show();
SetAccessibleRole( AccessibleRole::LABEL );
}
@@ -78,7 +78,7 @@ namespace svt
,m_bFocused( false )
,m_bExpanded( false )
{
- EnableMapMode( sal_False );
+ EnableMapMode( false );
SetBackground( Wallpaper() );
SetPointer( POINTER_REFHAND );
@@ -198,7 +198,7 @@ namespace svt
{
const Rectangle aTextPixelBox( m_pPaintDevice->LogicToPixel( i_rTextBox ) );
- m_pPaintDevice->EnableMapMode( sal_False );
+ m_pPaintDevice->EnableMapMode( false );
m_pPaintDevice->SetFillColor();
Rectangle aBox( i_rTextBox );
@@ -215,7 +215,7 @@ namespace svt
m_pPaintDevice->SetLineColor( COL_BLACK );
m_pPaintDevice->DrawPolyLine( Polygon( aTextPixelBox ), aDottedStyle );
- m_pPaintDevice->EnableMapMode( sal_False );
+ m_pPaintDevice->EnableMapMode( false );
}
else
HideFocus();
diff --git a/svtools/source/uno/unoiface.cxx b/svtools/source/uno/unoiface.cxx
index 2793e1226d88..ae3270b6ccb0 100644
--- a/svtools/source/uno/unoiface.cxx
+++ b/svtools/source/uno/unoiface.cxx
@@ -110,7 +110,7 @@ SAL_DLLPUBLIC_EXPORT Window* CreateWindow( VCLXWindow** ppNewComp, const ::com::
pWindow = new CalendarField( pParent, nWinBits);
static_cast<CalendarField*>(pWindow)->EnableToday();
static_cast<CalendarField*>(pWindow)->EnableNone();
- static_cast<CalendarField*>(pWindow)->EnableEmptyFieldValue( sal_True );
+ static_cast<CalendarField*>(pWindow)->EnableEmptyFieldValue( true );
*ppNewComp = new SVTXDateField;
((VCLXFormattedSpinField*)*ppNewComp)->SetFormatter( (FormatterBase*)(DateField*)pWindow );
}