summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cui/source/customize/cfg.cxx18
-rw-r--r--cui/source/customize/macropg.cxx4
-rw-r--r--cui/source/dialogs/SpellDialog.cxx6
-rw-r--r--cui/source/dialogs/hyphen.cxx4
-rw-r--r--cui/source/options/optdict.cxx2
-rw-r--r--cui/source/options/optinet2.cxx4
-rw-r--r--cui/source/options/optjava.cxx12
-rw-r--r--cui/source/options/treeopt.cxx4
-rw-r--r--cui/source/options/webconninfo.cxx4
9 files changed, 29 insertions, 29 deletions
diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx
index a5344548e252..c3c16d6f3157 100644
--- a/cui/source/customize/cfg.cxx
+++ b/cui/source/customize/cfg.cxx
@@ -1028,7 +1028,7 @@ MenuSaveInData::MenuSaveInData(
try
{
OUString url( ITEM_MENUBAR_URL );
- m_xMenuSettings = GetConfigManager()->getSettings( url, sal_False );
+ m_xMenuSettings = GetConfigManager()->getSettings( url, false );
}
catch ( container::NoSuchElementException& )
{
@@ -1335,7 +1335,7 @@ MenuSaveInData::Reset()
try
{
m_xMenuSettings = GetConfigManager()->getSettings(
- m_aMenuResourceURL, sal_False );
+ m_aMenuResourceURL, false );
}
catch ( container::NoSuchElementException& )
{
@@ -1414,7 +1414,7 @@ SvxEntries* ContextMenuSaveInData::GetEntries()
css::uno::Reference< css::container::XIndexAccess > xPopupMenu;
try
{
- xPopupMenu = GetConfigManager()->getSettings( aUrl, sal_False );
+ xPopupMenu = GetConfigManager()->getSettings( aUrl, false );
}
catch ( const css::uno::Exception& )
{}
@@ -1463,7 +1463,7 @@ SvxEntries* ContextMenuSaveInData::GetEntries()
try
{
if ( aMenuInfo.find( aUrl ) == aMenuInfo.end() )
- xPopupMenu = xParentCfgMgr->getSettings( aUrl, sal_False );
+ xPopupMenu = xParentCfgMgr->getSettings( aUrl, false );
}
catch ( const css::uno::Exception& )
{}
@@ -3939,7 +3939,7 @@ SvxEntries* ToolbarSaveInData::GetEntries()
try
{
uno::Reference< container::XIndexAccess > xToolbarSettings =
- GetConfigManager()->getSettings( url, sal_False );
+ GetConfigManager()->getSettings( url, false );
if ( uiname.isEmpty() )
{
@@ -4027,7 +4027,7 @@ SvxEntries* ToolbarSaveInData::GetEntries()
try
{
uno::Reference< container::XIndexAccess > xToolbarSettings =
- xParentCfgMgr->getSettings( url, sal_False );
+ xParentCfgMgr->getSettings( url, false );
if ( uiname.isEmpty() )
{
@@ -4362,11 +4362,11 @@ void ToolbarSaveInData::RestoreToolbar( SvxConfigEntry* pToolbar )
uno::Reference< container::XIndexAccess > xToolbarSettings;
if ( IsDocConfig() )
{
- xToolbarSettings = GetParentConfigManager()->getSettings( url, sal_False );
+ xToolbarSettings = GetParentConfigManager()->getSettings( url, false );
pToolbar->SetParentData();
}
else
- xToolbarSettings = GetConfigManager()->getSettings( url, sal_False );
+ xToolbarSettings = GetConfigManager()->getSettings( url, false );
LoadToolbar( xToolbarSettings, pToolbar );
@@ -5219,7 +5219,7 @@ IMPL_LINK_NOARG_TYPED( SvxIconSelectorDialog, ImportHdl, Button *, void)
{
xController->enableControl(
css::ui::dialogs::ExtendedFilePickerElementIds::CHECKBOX_LINK,
- sal_False);
+ false);
}
aImportDialog.SetCurrentFilter(
diff --git a/cui/source/customize/macropg.cxx b/cui/source/customize/macropg.cxx
index cbeb45adba8c..003454808138 100644
--- a/cui/source/customize/macropg.cxx
+++ b/cui/source/customize/macropg.cxx
@@ -375,7 +375,7 @@ bool _SvxMacroTabPage::FillItemSet( SfxItemSet* /*rSet*/ )
// in principle this should not be necessary (see issue ??)
if(m_xModifiable.is())
{
- m_xModifiable->setModified( sal_True );
+ m_xModifiable->setModified( true );
}
}
}
@@ -419,7 +419,7 @@ void _SvxMacroTabPage::Reset( const SfxItemSet* )
// call setModified(true)
if(m_xModifiable.is())
{
- m_xModifiable->setModified( sal_True );
+ m_xModifiable->setModified( true );
}
}
}
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index 21d83096c10e..4c72cf25acdf 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -639,8 +639,8 @@ IMPL_LINK_TYPED( SpellDialog, IgnoreAllHdl, Button *, pButton, void )
pSpellErrorDescription->xGrammarChecker->ignoreRule( pSpellErrorDescription->sRuleId,
pSpellErrorDescription->aLocale );
// refresh the layout (workaround to launch a dictionary event)
- aXDictionary->setActive(sal_False);
- aXDictionary->setActive(sal_True);
+ aXDictionary->setActive(false);
+ aXDictionary->setActive(true);
}
}
catch( const uno::Exception& )
@@ -829,7 +829,7 @@ int SpellDialog::InitUserDicts()
// words could be added.
Reference< XDictionary > xDic( SvxGetOrCreatePosDic( xDicList ) );
if (xDic.is())
- xDic->setActive( sal_True );
+ xDic->setActive( true );
pImpl->aDics = xDicList->getDictionaries();
}
diff --git a/cui/source/dialogs/hyphen.cxx b/cui/source/dialogs/hyphen.cxx
index 0bfd45e5811c..06ed08c61b83 100644
--- a/cui/source/dialogs/hyphen.cxx
+++ b/cui/source/dialogs/hyphen.cxx
@@ -355,13 +355,13 @@ IMPL_LINK_NOARG_TYPED( SvxHyphenWordDialog, HyphenateAllHdl_Impl, Button *, void
{
uno::Reference< linguistic2::XLinguProperties > xProp( SvxGetLinguPropertySet() );
- xProp->setIsHyphAuto( sal_True );
+ xProp->setIsHyphAuto( true );
m_bBusy = true;
ContinueHyph_Impl( /*m_nHyphPos*/m_nOldPos );
m_bBusy = false;
- xProp->setIsHyphAuto( sal_False );
+ xProp->setIsHyphAuto( false );
}
catch (uno::Exception &e)
{
diff --git a/cui/source/options/optdict.cxx b/cui/source/options/optdict.cxx
index 666cfc4ef5f0..5468c9e4b5c0 100644
--- a/cui/source/options/optdict.cxx
+++ b/cui/source/options/optdict.cxx
@@ -169,7 +169,7 @@ IMPL_LINK_NOARG_TYPED(SvxNewDictionaryDialog, OKHdl_Impl, Button*, void)
lang::Locale aLocale( LanguageTag::convertToLocale(nLang) );
OUString aURL( linguistic::GetWritableDictionaryURL( sDict ) );
xNewDic.set( xDicList->createDictionary( sDict, aLocale, eType, aURL ) , UNO_QUERY );
- xNewDic->setActive( sal_True );
+ xNewDic->setActive( true );
}
DBG_ASSERT(xNewDic.is(), "NULL pointer");
}
diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx
index 1c878c3db924..092f35513be4 100644
--- a/cui/source/options/optinet2.cxx
+++ b/cui/source/options/optinet2.cxx
@@ -677,7 +677,7 @@ IMPL_LINK_NOARG_TYPED(SvxSecurityTabPage, SavePasswordHdl, Button*, void)
if ( m_pSavePasswordsCB->IsChecked() )
{
- bool bOldValue = xMasterPasswd->allowPersistentStoring( sal_True );
+ bool bOldValue = xMasterPasswd->allowPersistentStoring( true );
xMasterPasswd->removeMasterPassword();
if ( xMasterPasswd->changeMasterPassword( Reference< task::XInteractionHandler >() ) )
{
@@ -700,7 +700,7 @@ IMPL_LINK_NOARG_TYPED(SvxSecurityTabPage, SavePasswordHdl, Button*, void)
if( RET_YES == nRet )
{
- xMasterPasswd->allowPersistentStoring( sal_False );
+ xMasterPasswd->allowPersistentStoring( false );
m_pMasterPasswordCB->Check();
m_pMasterPasswordPB->Enable( false );
m_pMasterPasswordCB->Enable( false );
diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx
index fe08355c8e9d..14e750c21a04 100644
--- a/cui/source/options/optjava.cxx
+++ b/cui/source/options/optjava.cxx
@@ -321,7 +321,7 @@ IMPL_LINK_NOARG_TYPED(SvxJavaOptionsPage, ParameterHdl_Impl, Button*, void)
if ( !areListsEqual( aParameterList, m_pParamDlg->GetParameters() ) )
{
aParameterList = m_pParamDlg->GetParameters();
- sal_Bool bRunning = sal_False;
+ sal_Bool bRunning = false;
javaFrameworkError eErr = jfw_isVMRunning( &bRunning );
DBG_ASSERT( JFW_E_NONE == eErr,
"SvxJavaOptionsPage::ParameterHdl_Impl(): error in jfw_isVMRunning" );
@@ -366,7 +366,7 @@ IMPL_LINK_NOARG_TYPED(SvxJavaOptionsPage, ClassPathHdl_Impl, Button*, void)
if ( m_pPathDlg->GetClassPath() != sClassPath )
{
sClassPath = m_pPathDlg->GetClassPath();
- sal_Bool bRunning = sal_False;
+ sal_Bool bRunning = false;
javaFrameworkError eErr = jfw_isVMRunning( &bRunning );
DBG_ASSERT( JFW_E_NONE == eErr,
"SvxJavaOptionsPage::ParameterHdl_Impl(): error in jfw_isVMRunning" );
@@ -704,7 +704,7 @@ bool SvxJavaOptionsPage::FillItemSet( SfxItemSet* /*rCoreSet*/ )
{
if (pSelectedJava == nullptr || !jfw_areEqualJavaInfo( pInfo, pSelectedJava ) )
{
- sal_Bool bRunning = sal_False;
+ sal_Bool bRunning = false;
eErr = jfw_isVMRunning( &bRunning );
DBG_ASSERT( JFW_E_NONE == eErr,
"SvxJavaOptionsPage::FillItemSet(): error in jfw_isVMRunning" );
@@ -726,7 +726,7 @@ bool SvxJavaOptionsPage::FillItemSet( SfxItemSet* /*rCoreSet*/ )
}
}
- sal_Bool bEnabled = sal_False;
+ sal_Bool bEnabled = false;
eErr = jfw_getEnabled( &bEnabled );
DBG_ASSERT( JFW_E_NONE == eErr,
"SvxJavaOptionsPage::FillItemSet(): error in jfw_getEnabled" );
@@ -751,10 +751,10 @@ void SvxJavaOptionsPage::Reset( const SfxItemSet* /*rSet*/ )
SvtMiscOptions aMiscOpt;
#if HAVE_FEATURE_JAVA
- sal_Bool bEnabled = sal_False;
+ sal_Bool bEnabled = false;
javaFrameworkError eErr = jfw_getEnabled( &bEnabled );
if ( eErr != JFW_E_NONE )
- bEnabled = sal_False;
+ bEnabled = false;
m_pJavaEnableCB->Check( bEnabled );
EnableHdl_Impl(m_pJavaEnableCB);
#else
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index 536f0b45894c..d5b6b938659d 100644
--- a/cui/source/options/treeopt.cxx
+++ b/cui/source/options/treeopt.cxx
@@ -2284,7 +2284,7 @@ void ExtensionsTabPage::ActivatePage()
if ( m_xPage.is() )
{
- m_xPage->setVisible( sal_True );
+ m_xPage->setVisible( true );
m_bIsWindowHidden = false;
}
}
@@ -2294,7 +2294,7 @@ void ExtensionsTabPage::DeactivatePage()
TabPage::DeactivatePage();
if ( m_xPage.is() )
- m_xPage->setVisible( sal_False );
+ m_xPage->setVisible( false );
}
diff --git a/cui/source/options/webconninfo.cxx b/cui/source/options/webconninfo.cxx
index 2a6b5870ec31..67d244b8e005 100644
--- a/cui/source/options/webconninfo.cxx
+++ b/cui/source/options/webconninfo.cxx
@@ -190,7 +190,7 @@ void WebConnectionInfoDialog::FillPasswordList()
m_nPos = nCount;
uno::Sequence< OUString > aUrls
- = xMasterPasswd->getUrls( sal_True /* OnlyPersistent */ );
+ = xMasterPasswd->getUrls( true /* OnlyPersistent */ );
for ( sal_Int32 nURLIdx = 0; nURLIdx < aUrls.getLength(); nURLIdx++ )
{
@@ -246,7 +246,7 @@ IMPL_LINK_NOARG_TYPED(WebConnectionInfoDialog, RemoveAllPasswordsHdl, Button*, v
xPasswdContainer->removeAllPersistent();
uno::Sequence< OUString > aUrls
- = xPasswdContainer->getUrls( sal_True /* OnlyPersistent */ );
+ = xPasswdContainer->getUrls( true /* OnlyPersistent */ );
for ( sal_Int32 nURLIdx = 0; nURLIdx < aUrls.getLength(); nURLIdx++ )
xPasswdContainer->removeUrl( aUrls[ nURLIdx ] );