summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-21 12:53:51 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-21 12:53:51 +0100
commite8f8f24c8415898c787bbfb629247ed62e73a2b9 (patch)
treedae18a3acbf29c192118e7c003f80df8da8e21ae /svx/source/tbxctrls
parent1c8402465cfd4df862409dc310f5f099d044c4d8 (diff)
vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
Diffstat (limited to 'svx/source/tbxctrls')
-rw-r--r--svx/source/tbxctrls/colorwindow.hxx2
-rw-r--r--svx/source/tbxctrls/colrctrl.cxx4
-rw-r--r--svx/source/tbxctrls/itemwin.cxx2
-rw-r--r--svx/source/tbxctrls/layctrl.cxx4
-rw-r--r--svx/source/tbxctrls/lboxctrl.cxx2
-rw-r--r--svx/source/tbxctrls/linectrl.cxx4
-rw-r--r--svx/source/tbxctrls/tbcontrl.cxx16
-rw-r--r--svx/source/tbxctrls/tbunosearchcontrollers.cxx2
8 files changed, 18 insertions, 18 deletions
diff --git a/svx/source/tbxctrls/colorwindow.hxx b/svx/source/tbxctrls/colorwindow.hxx
index 0b6836483e14..cdad609a676a 100644
--- a/svx/source/tbxctrls/colorwindow.hxx
+++ b/svx/source/tbxctrls/colorwindow.hxx
@@ -48,7 +48,7 @@ private:
protected:
virtual void Resize();
- virtual sal_Bool Close();
+ virtual bool Close();
public:
SvxColorWindow_Impl( const OUString& rCommand,
diff --git a/svx/source/tbxctrls/colrctrl.cxx b/svx/source/tbxctrls/colrctrl.cxx
index 0e37a6d456d5..cce884f49765 100644
--- a/svx/source/tbxctrls/colrctrl.cxx
+++ b/svx/source/tbxctrls/colrctrl.cxx
@@ -396,13 +396,13 @@ void SvxColorDockingWindow::SetSize()
|*
\************************************************************************/
-sal_Bool SvxColorDockingWindow::Close()
+bool SvxColorDockingWindow::Close()
{
SfxBoolItem aItem( SID_COLOR_CONTROL, false );
GetBindings().GetDispatcher()->Execute(
SID_COLOR_CONTROL, SFX_CALLMODE_ASYNCHRON | SFX_CALLMODE_RECORD, &aItem, 0L );
SfxDockingWindow::Close();
- return( sal_True );
+ return true;
}
/*************************************************************************
diff --git a/svx/source/tbxctrls/itemwin.cxx b/svx/source/tbxctrls/itemwin.cxx
index fda4261b3667..01b221c05155 100644
--- a/svx/source/tbxctrls/itemwin.cxx
+++ b/svx/source/tbxctrls/itemwin.cxx
@@ -666,7 +666,7 @@ bool SvxFillTypeBox::PreNotify( NotifyEvent& rNEvt )
nCurPos = GetSelectEntryPos();
else if ( EVENT_LOSEFOCUS == nType
&& Application::GetFocusWindow()
- && !IsWindowOrChild( Application::GetFocusWindow(), sal_True ) )
+ && !IsWindowOrChild( Application::GetFocusWindow(), true ) )
{
if ( !bSelect )
SelectEntryPos( nCurPos );
diff --git a/svx/source/tbxctrls/layctrl.cxx b/svx/source/tbxctrls/layctrl.cxx
index 8d17b8dcb537..07898e1023f5 100644
--- a/svx/source/tbxctrls/layctrl.cxx
+++ b/svx/source/tbxctrls/layctrl.cxx
@@ -140,7 +140,7 @@ TableWindow::TableWindow( sal_uInt16 nSlotId, const OUString& rCmd, const OUStri
Font aFont = GetFont();
aFont.SetColor( ::Color( aColorConfig.GetColorValue( svtools::FONTCOLOR ).nColor ) );
aFont.SetFillColor( aBackgroundColor );
- aFont.SetTransparent( sal_False );
+ aFont.SetTransparent( false );
SetFont( aFont );
SetText( rText );
@@ -460,7 +460,7 @@ ColumnsWindow::ColumnsWindow( sal_uInt16 nId, const OUString& rCmd, const OUStri
Font aFont( GetFont() );
aFont.SetColor( aLineColor );
aFont.SetFillColor( aFaceColor );
- aFont.SetTransparent( sal_False );
+ aFont.SetTransparent( false );
SetFont( aFont );
nCol = 0;
diff --git a/svx/source/tbxctrls/lboxctrl.cxx b/svx/source/tbxctrls/lboxctrl.cxx
index f9deeb7ce8de..aa44b89d9afd 100644
--- a/svx/source/tbxctrls/lboxctrl.cxx
+++ b/svx/source/tbxctrls/lboxctrl.cxx
@@ -97,7 +97,7 @@ SvxPopupWindowListBox::SvxPopupWindowListBox( sal_uInt16 nSlotId, const OUString
DBG_ASSERT( nSlotId == GetId(), "id mismatch" );
pListBox = new ListBox( this, SVX_RES( LB_SVXTBX_UNDO_REDO_CTRL ) );
FreeResource();
- pListBox->EnableMultiSelection( sal_True, sal_True );
+ pListBox->EnableMultiSelection( true, true );
SetBackground( GetSettings().GetStyleSettings().GetDialogColor() );
AddStatusListener( rCommandURL );
}
diff --git a/svx/source/tbxctrls/linectrl.cxx b/svx/source/tbxctrls/linectrl.cxx
index a1f112f4cddb..451e451eb2cc 100644
--- a/svx/source/tbxctrls/linectrl.cxx
+++ b/svx/source/tbxctrls/linectrl.cxx
@@ -510,7 +510,7 @@ void SvxLineEndWindow::FillValueSet()
OSL_ENSURE( !aBmp.IsEmpty(), "UI bitmap was not created" );
aBmpSize = aBmp.GetSizePixel();
- aVD.SetOutputSizePixel( aBmpSize, sal_False );
+ aVD.SetOutputSizePixel( aBmpSize, false );
aBmpSize.Width() = aBmpSize.Width() / 2;
Point aPt0( 0, 0 );
Point aPt1( aBmpSize.Width(), 0 );
@@ -623,7 +623,7 @@ void SvxLineEndWindow::StartSelection()
// -----------------------------------------------------------------------
-sal_Bool SvxLineEndWindow::Close()
+bool SvxLineEndWindow::Close()
{
return SfxPopupWindow::Close();
}
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 7990834ab244..b46c61c9d4fa 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -266,7 +266,7 @@ private:
protected:
virtual void Resize();
- virtual sal_Bool Close();
+ virtual bool Close();
virtual Window* GetPreferredKeyInputWindow();
virtual void GetFocus();
@@ -294,7 +294,7 @@ private:
protected:
virtual void Resize();
- virtual sal_Bool Close();
+ virtual bool Close();
virtual Window* GetPreferredKeyInputWindow();
virtual void GetFocus();
virtual void DataChanged( const DataChangedEvent& rDCEvt );
@@ -351,7 +351,7 @@ SvxStyleBox_Impl::SvxStyleBox_Impl(Window* pParent,
, bInSpecialMode( bInSpec )
{
aLogicalSize = PixelToLogic( GetSizePixel(), MAP_APPFONT );
- EnableAutocomplete( sal_True );
+ EnableAutocomplete( true );
EnableUserDraw( true );
SetUserItemSize( Size( 0, 30 ) );
}
@@ -1232,7 +1232,7 @@ void SvxColorWindow_Impl::StartSelection()
// -----------------------------------------------------------------------
-sal_Bool SvxColorWindow_Impl::Close()
+bool SvxColorWindow_Impl::Close()
{
return SfxPopupWindow::Close();
}
@@ -1537,7 +1537,7 @@ void SvxFrameWindow_Impl::StartSelection()
// -----------------------------------------------------------------------
-sal_Bool SvxFrameWindow_Impl::Close()
+bool SvxFrameWindow_Impl::Close()
{
return SfxPopupWindow::Close();
}
@@ -1652,7 +1652,7 @@ void SvxLineWindow_Impl::Resize()
// -----------------------------------------------------------------------
-sal_Bool SvxLineWindow_Impl::Close()
+bool SvxLineWindow_Impl::Close()
{
return SfxPopupWindow::Close();
}
@@ -1991,7 +1991,7 @@ void SvxStyleToolBoxControl::FillStyleBox()
if ( bDoFill )
{
- pBox->SetUpdateMode( sal_False );
+ pBox->SetUpdateMode( false );
pBox->Clear();
{
@@ -2059,7 +2059,7 @@ void SvxStyleToolBoxControl::FillStyleBox()
pBox->SetStyle( nWinBits );
}
- pBox->SetUpdateMode( sal_True );
+ pBox->SetUpdateMode( true );
pBox->SetFamily( eFamily );
sal_uInt16 nLines = std::min( pBox->GetEntryCount(), MAX_STYLES_ENTRIES );
diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
index 04b141e4914b..98cbbe0cdf28 100644
--- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx
+++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
@@ -134,7 +134,7 @@ FindTextFieldControl::FindTextFieldControl( Window* pParent, WinBits nStyle,
m_xContext(xContext)
{
SetPlaceholderText(SVX_RESSTR(RID_SVXSTR_FINDBAR_FIND));
- EnableAutocomplete(sal_True, sal_True);
+ EnableAutocomplete(true, true);
}
FindTextFieldControl::~FindTextFieldControl()