summaryrefslogtreecommitdiff
path: root/cui/source/customize/cfg.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-16 11:39:08 +0200
committerNoel Grandin <noel@peralex.com>2014-04-16 11:51:51 +0200
commit5b1b1e55ce492ceb1a907833f7073b46451760c6 (patch)
tree6f1ff57b2cb011702eb79c41d180063ab16d9463 /cui/source/customize/cfg.cxx
parent199d333f131474729a105afa5a3da61205f61df2 (diff)
cui: sal_Bool->bool
Change-Id: Ib7dd1f27d4909d30ee794936364a472a9755c609
Diffstat (limited to 'cui/source/customize/cfg.cxx')
-rw-r--r--cui/source/customize/cfg.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index 91a4c30eab01..81356106c39e 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -527,7 +527,7 @@ bool GetToolbarItemData(
OUString& rCommandURL,
OUString& rLabel,
sal_uInt16& rType,
- sal_Bool& rIsVisible,
+ bool& rIsVisible,
sal_Int32& rStyle,
uno::Reference< container::XIndexAccess >& rSubMenu )
{
@@ -603,7 +603,7 @@ ConvertSvxConfigEntry(
aPropSeq[2].Name = aDescriptorLabel;
if ( !pEntry->HasChangedName() && !pEntry->GetCommand().isEmpty() )
{
- sal_Bool isDefaultName = sal_False;
+ bool isDefaultName = false;
try
{
uno::Any a( xCommandToLabelMap->getByName( pEntry->GetCommand() ) );
@@ -619,7 +619,7 @@ ConvertSvxConfigEntry(
if ( tmpLabel.equals( pEntry->GetName() ) )
{
- isDefaultName = sal_True;
+ isDefaultName = true;
}
break;
@@ -681,7 +681,7 @@ ConvertToolbarEntry(
aPropSeq[2].Name = aDescriptorLabel;
if ( !pEntry->HasChangedName() && !pEntry->GetCommand().isEmpty() )
{
- sal_Bool isDefaultName = sal_False;
+ bool isDefaultName = false;
try
{
uno::Any a( xCommandToLabelMap->getByName( pEntry->GetCommand() ) );
@@ -697,7 +697,7 @@ ConvertToolbarEntry(
if ( tmpLabel.equals( pEntry->GetName() ) )
{
- isDefaultName = sal_True;
+ isDefaultName = true;
}
break;
@@ -2552,7 +2552,7 @@ IMPL_LINK( SvxMenuConfigPage, AddCommandsHdl, Button *, pButton )
if ( m_pSelectorDlg == NULL )
{
// Create Script Selector which also shows builtin commands
- m_pSelectorDlg = new SvxScriptSelectorDialog( this, sal_True, m_xFrame );
+ m_pSelectorDlg = new SvxScriptSelectorDialog( this, true, m_xFrame );
m_pSelectorDlg->SetAddHdl(
LINK( this, SvxMenuConfigPage, AddFunctionHdl ) );
@@ -4189,7 +4189,7 @@ bool ToolbarSaveInData::LoadToolbar(
OUString aCommandURL;
OUString aLabel;
bool bIsUserDefined = true;
- sal_Bool bIsVisible;
+ bool bIsVisible;
sal_Int32 nStyle;
sal_uInt16 nType( css::ui::ItemType::DEFAULT );
@@ -4475,7 +4475,7 @@ IMPL_LINK( SvxToolbarConfigPage, AddCommandsHdl, Button *, pButton )
if ( m_pSelectorDlg == NULL )
{
// Create Script Selector which shows slot commands
- m_pSelectorDlg = new SvxScriptSelectorDialog( this, sal_True, m_xFrame );
+ m_pSelectorDlg = new SvxScriptSelectorDialog( this, true, m_xFrame );
// Position the Script Selector over the Add button so it is
// beside the menu contents list and does not obscure it