summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-13 11:57:14 +0200
committerNoel Grandin <noel@peralex.com>2014-03-14 07:50:34 +0200
commita8f721ff96121697de8a97856ba4da145fc0c14e (patch)
treed61517a1e700702de0fadee06fb64c1158a3f97e /sfx2
parent5fe7ecc04f35ef785510e3ef404f46eb6f05a123 (diff)
sfx2: sal_Bool->bool
Change-Id: I626371bac4fbd9c6a2cdc5a57a3022f8b6ac55b2
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/ctrlitem.cxx2
-rw-r--r--sfx2/source/dialog/itemconnect.cxx4
-rw-r--r--sfx2/source/dialog/navigat.cxx2
-rw-r--r--sfx2/source/dialog/taskpane.cxx2
-rw-r--r--sfx2/source/dialog/templdlg.cxx2
-rw-r--r--sfx2/source/inc/partwnd.hxx2
-rw-r--r--sfx2/source/inc/recfloat.hxx2
-rw-r--r--sfx2/source/sidebar/SidebarChildWindow.cxx2
8 files changed, 9 insertions, 9 deletions
diff --git a/sfx2/source/control/ctrlitem.cxx b/sfx2/source/control/ctrlitem.cxx
index f0d05e9f9653..dfeb6e86fc0b 100644
--- a/sfx2/source/control/ctrlitem.cxx
+++ b/sfx2/source/control/ctrlitem.cxx
@@ -63,7 +63,7 @@ SfxControllerItem* SfxControllerItem::GetItemLink()
// returns sal_True if this binding is really bound to a function
-sal_Bool SfxControllerItem::IsBound() const
+bool SfxControllerItem::IsBound() const
{
return pNext != this;
}
diff --git a/sfx2/source/dialog/itemconnect.cxx b/sfx2/source/dialog/itemconnect.cxx
index 8fe25fef6680..921132947d58 100644
--- a/sfx2/source/dialog/itemconnect.cxx
+++ b/sfx2/source/dialog/itemconnect.cxx
@@ -123,12 +123,12 @@ void CheckBoxWrapper::SetControlDontKnow( bool bSet )
GetControl().SetState( bSet ? TRISTATE_INDET : TRISTATE_FALSE );
}
-sal_Bool CheckBoxWrapper::GetControlValue() const
+bool CheckBoxWrapper::GetControlValue() const
{
return GetControl().IsChecked();
}
-void CheckBoxWrapper::SetControlValue( sal_Bool bValue )
+void CheckBoxWrapper::SetControlValue( bool bValue )
{
GetControl().Check( bValue );
}
diff --git a/sfx2/source/dialog/navigat.cxx b/sfx2/source/dialog/navigat.cxx
index 31cebecbddef..66faa474d823 100644
--- a/sfx2/source/dialog/navigat.cxx
+++ b/sfx2/source/dialog/navigat.cxx
@@ -39,7 +39,7 @@ SfxNavigatorWrapper::SfxNavigatorWrapper( Window* pParentWnd ,
pWindow->SetOutputSizePixel( Size( 270, 240 ) );
( ( SfxDockingWindow* ) pWindow )->Initialize( pInfo );
- SetHideNotDelete( sal_True );
+ SetHideNotDelete( true );
}
SfxNavigator::SfxNavigator( SfxBindings* pBind ,
diff --git a/sfx2/source/dialog/taskpane.cxx b/sfx2/source/dialog/taskpane.cxx
index f8687b149077..e86f06e52345 100644
--- a/sfx2/source/dialog/taskpane.cxx
+++ b/sfx2/source/dialog/taskpane.cxx
@@ -246,7 +246,7 @@ namespace sfx2
pWindow->SetOutputSizePixel( Size( 300, 450 ) );
dynamic_cast< SfxDockingWindow* >( pWindow )->Initialize( i_pInfo );
- SetHideNotDelete( sal_True );
+ SetHideNotDelete( true );
pWindow->Show();
}
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index d5387ae632f9..38fa3151aab9 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -1421,7 +1421,7 @@ void SfxCommonTemplateDialog_Impl::SetWaterCanState(const SfxBoolItem *pItem)
for(size_t n = 0; n < nCount; n++)
{
SfxControllerItem *pCItem=pBoundItems[n];
- sal_Bool bChecked = pItem && pItem->GetValue();
+ bool bChecked = pItem && pItem->GetValue();
if( pCItem->IsBound() == bChecked )
{
if( !bChecked )
diff --git a/sfx2/source/inc/partwnd.hxx b/sfx2/source/inc/partwnd.hxx
index 0ecf7e55557f..71bb4467cd96 100644
--- a/sfx2/source/inc/partwnd.hxx
+++ b/sfx2/source/inc/partwnd.hxx
@@ -52,7 +52,7 @@ public:
SFX_DECL_CHILDWINDOW(SfxPartChildWnd_Impl);
~SfxPartChildWnd_Impl();
- virtual sal_Bool QueryClose();
+ virtual sal_Bool QueryClose();
};
// class SfxExplorerDockWnd_Impl -----------------------------------------
diff --git a/sfx2/source/inc/recfloat.hxx b/sfx2/source/inc/recfloat.hxx
index dfb3a59ac56d..1562b5edb5ed 100644
--- a/sfx2/source/inc/recfloat.hxx
+++ b/sfx2/source/inc/recfloat.hxx
@@ -34,7 +34,7 @@ public:
~SfxRecordingFloatWrapper_Impl();
SFX_DECL_CHILDWINDOW(SfxRecordingFloatWrapper_Impl);
- virtual sal_Bool QueryClose();
+ virtual sal_Bool QueryClose();
};
class SfxRecordingFloat_Impl : public SfxFloatingWindow
diff --git a/sfx2/source/sidebar/SidebarChildWindow.cxx b/sfx2/source/sidebar/SidebarChildWindow.cxx
index f4347b1ccbf8..1cb12104eac3 100644
--- a/sfx2/source/sidebar/SidebarChildWindow.cxx
+++ b/sfx2/source/sidebar/SidebarChildWindow.cxx
@@ -52,7 +52,7 @@ SidebarChildWindow::SidebarChildWindow (
SfxDockingWindow* pDockingParent = dynamic_cast<SfxDockingWindow*>(this->pWindow);
if (pDockingParent != NULL)
pDockingParent->Initialize(pInfo);
- SetHideNotDelete(sal_True);
+ SetHideNotDelete(true);
this->pWindow->Show();
}