diff options
Diffstat (limited to 'cui/source/dialogs')
-rw-r--r-- | cui/source/dialogs/SpellDialog.cxx | 18 | ||||
-rw-r--r-- | cui/source/dialogs/about.cxx | 4 | ||||
-rw-r--r-- | cui/source/dialogs/cuicharmap.cxx | 4 | ||||
-rw-r--r-- | cui/source/dialogs/cuifmsearch.cxx | 36 | ||||
-rw-r--r-- | cui/source/dialogs/cuigaldlg.cxx | 6 | ||||
-rw-r--r-- | cui/source/dialogs/cuihyperdlg.cxx | 4 | ||||
-rw-r--r-- | cui/source/dialogs/cuitbxform.cxx | 2 | ||||
-rw-r--r-- | cui/source/dialogs/hangulhanjadlg.cxx | 10 | ||||
-rw-r--r-- | cui/source/dialogs/hldocntp.cxx | 2 | ||||
-rw-r--r-- | cui/source/dialogs/hldoctp.cxx | 4 | ||||
-rw-r--r-- | cui/source/dialogs/hlinettp.cxx | 4 | ||||
-rw-r--r-- | cui/source/dialogs/hlmailtp.cxx | 2 | ||||
-rw-r--r-- | cui/source/dialogs/hltpbase.cxx | 2 | ||||
-rw-r--r-- | cui/source/dialogs/iconcdlg.cxx | 8 | ||||
-rw-r--r-- | cui/source/dialogs/insdlg.cxx | 12 | ||||
-rw-r--r-- | cui/source/dialogs/pastedlg.cxx | 4 | ||||
-rw-r--r-- | cui/source/dialogs/thesdlg.cxx | 2 | ||||
-rw-r--r-- | cui/source/dialogs/zoom.cxx | 2 |
18 files changed, 63 insertions, 63 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index 1b984c5d23f3..c28f120ef5de 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -422,7 +422,7 @@ void SpellDialog::SpellContinue_Impl(bool bUseSavedSentence, bool bIgnoreCurrent */ IMPL_STATIC_LINK( SpellDialog, InitHdl, SpellDialog *, EMPTYARG ) { - pThis->SetUpdateMode( sal_False ); + pThis->SetUpdateMode( false ); //show or hide AutoCorrect depending on the modules abilities pThis->m_pAutoCorrPB->Show(pThis->rParent.HasAutoCorrection()); pThis->SpellContinue_Impl(); @@ -445,7 +445,7 @@ IMPL_STATIC_LINK( SpellDialog, InitHdl, SpellDialog *, EMPTYARG ) pThis->LockFocusChanges(false); //show grammar CheckBox depending on the modules abilities pThis->m_pCheckGrammarCB->Check( pThis->rParent.IsGrammarChecking() ); - pThis->SetUpdateMode( sal_True ); + pThis->SetUpdateMode( true ); pThis->Show(); return 0; }; @@ -742,12 +742,12 @@ IMPL_LINK_NOARG(SpellDialog, IgnoreHdl) // ----------------------------------------------------------------------- -sal_Bool SpellDialog::Close() +bool SpellDialog::Close() { GetBindings().GetDispatcher()-> Execute(rParent.GetType(), SFX_CALLMODE_ASYNCHRON|SFX_CALLMODE_RECORD); - return sal_True; + return true; } // ----------------------------------------------------------------------- @@ -1641,8 +1641,8 @@ bool SentenceEditWindow_Impl::MarkNextError( bool bIgnoreCurrentError, com::sun: void SentenceEditWindow_Impl::MoveErrorMarkTo(sal_uInt16 nStart, sal_uInt16 nEnd, bool bGrammarError) { TextEngine* pTextEngine = GetTextEngine(); - pTextEngine->RemoveAttribs( 0, (sal_uInt16)TEXTATTR_FONTCOLOR, sal_True ); - pTextEngine->RemoveAttribs( 0, (sal_uInt16)TEXTATTR_FONTWEIGHT, sal_True ); + pTextEngine->RemoveAttribs( 0, (sal_uInt16)TEXTATTR_FONTCOLOR, true ); + pTextEngine->RemoveAttribs( 0, (sal_uInt16)TEXTATTR_FONTWEIGHT, true ); pTextEngine->SetAttrib( TextAttribFontWeight(WEIGHT_BOLD), 0, nStart, nEnd ); pTextEngine->SetAttrib( TextAttribFontColor(bGrammarError ? COL_LIGHTBLUE : COL_LIGHTRED), 0, nStart, nEnd ); m_nErrorStart = nStart; @@ -1695,7 +1695,7 @@ void SentenceEditWindow_Impl::ChangeMarkedWord(const OUString& rNewWord, Languag pTextEngine->SetAttrib(*pNewBackground, 0, nStart, m_nErrorStart); delete pNewBackground; } - pTextEngine->SetModified(sal_True); + pTextEngine->SetModified(true); //adjust end position long nEndTemp = m_nErrorEnd; @@ -2012,8 +2012,8 @@ void SentenceEditWindow_Impl::SetUndoEditMode(bool bSet) //remove error marks TextEngine* pTextEngine = GetTextEngine(); - pTextEngine->RemoveAttribs( 0, (sal_uInt16)TEXTATTR_FONTCOLOR, sal_True ); - pTextEngine->RemoveAttribs( 0, (sal_uInt16)TEXTATTR_FONTWEIGHT, sal_True ); + pTextEngine->RemoveAttribs( 0, (sal_uInt16)TEXTATTR_FONTCOLOR, true ); + pTextEngine->RemoveAttribs( 0, (sal_uInt16)TEXTATTR_FONTWEIGHT, true ); //put the appropriate action on the Undo-stack SpellUndoAction_Impl* pAction = new SpellUndoAction_Impl( diff --git a/cui/source/dialogs/about.cxx b/cui/source/dialogs/about.cxx index e4bdbb540a98..f045590f0629 100644 --- a/cui/source/dialogs/about.cxx +++ b/cui/source/dialogs/about.cxx @@ -275,10 +275,10 @@ OUString AboutDialog::GetCopyrightString() return aCopyrightString; } -sal_Bool AboutDialog::Close() +bool AboutDialog::Close() { EndDialog( RET_OK ); - return sal_False; + return false; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/source/dialogs/cuicharmap.cxx b/cui/source/dialogs/cuicharmap.cxx index 952bf399c5c4..7c647f39d3b8 100644 --- a/cui/source/dialogs/cuicharmap.cxx +++ b/cui/source/dialogs/cuicharmap.cxx @@ -274,7 +274,7 @@ void SvxShowText::SetFont( const Font& rFont ) aFont.SetWeight( WEIGHT_NORMAL ); aFont.SetAlign( ALIGN_TOP ); aFont.SetSize( PixelToLogic( Size( 0, nWinHeight/2 ) ) ); - aFont.SetTransparent( sal_True ); + aFont.SetTransparent( true ); Control::SetFont( aFont ); mnY = ( nWinHeight - GetTextHeight() ) / 2; @@ -313,7 +313,7 @@ SvxShowText::~SvxShowText() void SvxCharacterMap::init() { aFont = GetFont(); - aFont.SetTransparent( sal_True ); + aFont.SetTransparent( true ); aFont.SetFamily( FAMILY_DONTKNOW ); aFont.SetPitch( PITCH_DONTKNOW ); aFont.SetCharSet( RTL_TEXTENCODING_DONTKNOW ); diff --git a/cui/source/dialogs/cuifmsearch.cxx b/cui/source/dialogs/cuifmsearch.cxx index 5893b9f68725..23e362a8507f 100644 --- a/cui/source/dialogs/cuifmsearch.cxx +++ b/cui/source/dialogs/cuifmsearch.cxx @@ -238,7 +238,7 @@ void FmSearchDialog::Init(const OUString& strVisibleFields, const OUString& sIni m_lbField.SetSelectHdl(LINK(this, FmSearchDialog, OnFieldSelected)); m_cmbSearchText.SetModifyHdl(LINK(this, FmSearchDialog, OnSearchTextModified)); - m_cmbSearchText.EnableAutocomplete(sal_False); + m_cmbSearchText.EnableAutocomplete(false); m_cmbSearchText.SetGetFocusHdl(LINK(this, FmSearchDialog, OnFocusGrabbed)); m_cbUseFormat.SetToggleHdl(LINK(this, FmSearchDialog, OnCheckBoxToggled)); @@ -291,14 +291,14 @@ void FmSearchDialog::Init(const OUString& strVisibleFields, const OUString& sIni FreeResource(); } -sal_Bool FmSearchDialog::Close() +bool FmSearchDialog::Close() { // If the close button is disabled and ESC is pressed in a dialog, // then Frame will call Close anyway, which I don't want to happen // while I'm in the middle of a search (maybe one that's running // in its own thread) if (!m_pbClose.IsEnabled()) - return sal_False; + return false; return ModalDialog::Close(); } @@ -343,7 +343,7 @@ IMPL_LINK_NOARG(FmSearchDialog, OnClickedSearchAgain) if (m_cbStartOver.IsChecked()) { - m_cbStartOver.Check(sal_False); + m_cbStartOver.Check(false); EnableSearchUI(sal_False); if (m_rbSearchForText.IsChecked()) m_pSearchEngine->StartOver(strThisRoundText); @@ -815,15 +815,15 @@ void FmSearchDialog::LoadParams() // all fields/single field (AFTER selcting the field because OnClickedFieldRadios expects a valid value there) if (aParams.bAllFields) { - m_rbSingleField.Check(sal_False); - m_rbAllFields.Check(sal_True); + m_rbSingleField.Check(false); + m_rbAllFields.Check(true); LINK(this, FmSearchDialog, OnClickedFieldRadios).Call(&m_rbAllFields); // OnClickedFieldRadios also calls to RebuildUsedFields } else { - m_rbAllFields.Check(sal_False); - m_rbSingleField.Check(sal_True); + m_rbAllFields.Check(false); + m_rbSingleField.Check(true); LINK(this, FmSearchDialog, OnClickedFieldRadios).Call(&m_rbSingleField); } @@ -843,9 +843,9 @@ void FmSearchDialog::LoadParams() LINK(this, FmSearchDialog, OnCheckBoxToggled).Call(&m_aHalfFullFormsCJK); LINK(this, FmSearchDialog, OnCheckBoxToggled).Call(&m_aSoundsLikeCJK); - m_cbWildCard.Check(sal_False); - m_cbRegular.Check(sal_False); - m_cbApprox.Check(sal_False); + m_cbWildCard.Check(false); + m_cbRegular.Check(false); + m_cbApprox.Check(false); LINK(this, FmSearchDialog, OnCheckBoxToggled).Call(&m_cbWildCard); LINK(this, FmSearchDialog, OnCheckBoxToggled).Call(&m_cbRegular); LINK(this, FmSearchDialog, OnCheckBoxToggled).Call(&m_cbApprox); @@ -861,7 +861,7 @@ void FmSearchDialog::LoadParams() pToCheck = &m_aSoundsLikeCJK; if (pToCheck) { - pToCheck->Check(sal_True); + pToCheck->Check(true); LINK(this, FmSearchDialog, OnCheckBoxToggled).Call(pToCheck); } @@ -873,14 +873,14 @@ void FmSearchDialog::LoadParams() m_pSearchEngine->SetTransliterationFlags( aParams.getTransliterationFlags( ) ); - m_rbSearchForText.Check(sal_False); - m_rbSearchForNull.Check(sal_False); - m_rbSearchForNotNull.Check(sal_False); + m_rbSearchForText.Check(false); + m_rbSearchForNull.Check(false); + m_rbSearchForNotNull.Check(false); switch (aParams.nSearchForType) { - case 1: m_rbSearchForNull.Check(sal_True); break; - case 2: m_rbSearchForNotNull.Check(sal_True); break; - default: m_rbSearchForText.Check(sal_True); break; + case 1: m_rbSearchForNull.Check(true); break; + case 2: m_rbSearchForNotNull.Check(true); break; + default: m_rbSearchForText.Check(true); break; } LINK(this, FmSearchDialog, OnClickedFieldRadios).Call(&m_rbSearchForText); } diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx index bff5ad288e55..dcd508d4f82d 100644 --- a/cui/source/dialogs/cuigaldlg.cxx +++ b/cui/source/dialogs/cuigaldlg.cxx @@ -379,7 +379,7 @@ IMPL_LINK_NOARG(TakeProgress, CleanUpHdl) sal_uInt32 i, nCount; GetParent()->EnterWait(); - mpBrowser->aLbxFound.SetUpdateMode( sal_False ); + mpBrowser->aLbxFound.SetUpdateMode( false ); mpBrowser->aLbxFound.SetNoSelection(); // mark all taken positions in aRemoveEntries @@ -411,7 +411,7 @@ IMPL_LINK_NOARG(TakeProgress, CleanUpHdl) aRemainingVector.clear(); - mpBrowser->aLbxFound.SetUpdateMode( sal_True ); + mpBrowser->aLbxFound.SetUpdateMode( true ); mpBrowser->SelectFoundHdl( NULL ); GetParent()->LeaveWait(); @@ -768,7 +768,7 @@ void TPGalleryThemeProperties::SetXChgData( ExchangeData* _pData ) aBtnTakeAll.SetClickHdl(LINK(this, TPGalleryThemeProperties, ClickTakeAllHdl)); aCbxPreview.SetClickHdl(LINK(this, TPGalleryThemeProperties, ClickPreviewHdl)); aCbbFileType.SetSelectHdl(LINK(this, TPGalleryThemeProperties, SelectFileTypeHdl)); - aCbbFileType.EnableDDAutoWidth( sal_False ); + aCbbFileType.EnableDDAutoWidth( false ); aLbxFound.SetDoubleClickHdl(LINK(this, TPGalleryThemeProperties, DClickFoundHdl)); aLbxFound.SetSelectHdl(LINK(this, TPGalleryThemeProperties, SelectFoundHdl)); aLbxFound.InsertEntry(OUString(CUI_RES(RID_SVXSTR_GALLERY_NOFILES))); diff --git a/cui/source/dialogs/cuihyperdlg.cxx b/cui/source/dialogs/cuihyperdlg.cxx index de58b79976d7..0f1efdaf8b50 100644 --- a/cui/source/dialogs/cuihyperdlg.cxx +++ b/cui/source/dialogs/cuihyperdlg.cxx @@ -150,12 +150,12 @@ SvxHpLinkDlg::~SvxHpLinkDlg () |* |************************************************************************/ -sal_Bool SvxHpLinkDlg::Close() +bool SvxHpLinkDlg::Close() { GetDispatcher()->Execute( SID_HYPERLINK_DIALOG, SFX_CALLMODE_ASYNCHRON | SFX_CALLMODE_RECORD); - return sal_True; + return true; } /************************************************************************* diff --git a/cui/source/dialogs/cuitbxform.cxx b/cui/source/dialogs/cuitbxform.cxx index 3c1f7cfd6bf9..3a9f696a1316 100644 --- a/cui/source/dialogs/cuitbxform.cxx +++ b/cui/source/dialogs/cuitbxform.cxx @@ -38,7 +38,7 @@ FmInputRecordNoDialog::FmInputRecordNoDialog(Window * pParent) m_pRecordNo->SetMin(1); m_pRecordNo->SetMax(0x7FFFFFFF); - m_pRecordNo->SetStrictFormat(sal_True); + m_pRecordNo->SetStrictFormat(true); m_pRecordNo->SetDecimalDigits(0); } diff --git a/cui/source/dialogs/hangulhanjadlg.cxx b/cui/source/dialogs/hangulhanjadlg.cxx index e8e019b6bf07..ededbf44c363 100644 --- a/cui/source/dialogs/hangulhanjadlg.cxx +++ b/cui/source/dialogs/hangulhanjadlg.cxx @@ -731,7 +731,7 @@ namespace svx { sal_Bool bBoxChecked = pBox->IsChecked(); if (bBoxChecked) - pOtherBox->Check( sal_False ); + pOtherBox->Check( false ); pOtherBox->Enable( !bBoxChecked ); } @@ -830,7 +830,7 @@ namespace svx //------------------------------------------------------------------------- void HangulHanjaConversionDialog::SetByCharacter( bool _bByCharacter ) { - m_aReplaceByChar.Check( static_cast<sal_Bool>(_bByCharacter) ); + m_aReplaceByChar.Check( _bByCharacter ); m_aSuggestions.DisplayListBox( !_bByCharacter ); } @@ -840,16 +840,16 @@ namespace svx HHC::ConversionDirection _ePrimaryConversionDirection ) { // default state: try both direction - m_aHangulOnly.Check( sal_False ); + m_aHangulOnly.Check( false ); m_aHangulOnly.Enable( true ); - m_aHanjaOnly.Check( sal_False ); + m_aHanjaOnly.Check( false ); m_aHanjaOnly.Enable( true ); if (!_bTryBothDirections) { CheckBox *pBox = _ePrimaryConversionDirection == HHC::eHangulToHanja? &m_aHangulOnly : &m_aHanjaOnly; - pBox->Check( sal_True ); + pBox->Check( true ); OnConversionDirectionClicked( pBox ); } } diff --git a/cui/source/dialogs/hldocntp.cxx b/cui/source/dialogs/hldocntp.cxx index c9a377d144c3..10850f2d52fd 100644 --- a/cui/source/dialogs/hldocntp.cxx +++ b/cui/source/dialogs/hldocntp.cxx @@ -111,7 +111,7 @@ SvxHyperlinkNewDocTp::SvxHyperlinkNewDocTp ( Window *pParent, const SfxItemSet& maLbDocTypes ( this, CUI_RES (LB_DOCUMENT_TYPES) ) { // Set HC bitmaps and disable display of bitmap names. - maBtCreate.EnableTextDisplay (sal_False); + maBtCreate.EnableTextDisplay (false); InitStdControls(); FreeResource(); diff --git a/cui/source/dialogs/hldoctp.cxx b/cui/source/dialogs/hldoctp.cxx index 865b0e54239d..c216d25064c3 100644 --- a/cui/source/dialogs/hldoctp.cxx +++ b/cui/source/dialogs/hldoctp.cxx @@ -50,8 +50,8 @@ SvxHyperlinkDocTp::SvxHyperlinkDocTp ( Window *pParent, const SfxItemSet& rItemS mbMarkWndOpen ( sal_False ) { // Disable display of bitmap names. - maBtBrowse.EnableTextDisplay (sal_False); - maBtFileopen.EnableTextDisplay (sal_False); + maBtBrowse.EnableTextDisplay (false); + maBtFileopen.EnableTextDisplay (false); InitStdControls(); FreeResource(); diff --git a/cui/source/dialogs/hlinettp.cxx b/cui/source/dialogs/hlinettp.cxx index 35cf1ca3b069..379ba03a15db 100644 --- a/cui/source/dialogs/hlinettp.cxx +++ b/cui/source/dialogs/hlinettp.cxx @@ -53,7 +53,7 @@ SvxHyperlinkInternetTp::SvxHyperlinkInternetTp ( Window *pParent, mbMarkWndOpen ( sal_False ) { // Disable display of bitmap names. - maBtBrowse.EnableTextDisplay (sal_False); + maBtBrowse.EnableTextDisplay (false); InitStdControls(); FreeResource(); @@ -154,7 +154,7 @@ void SvxHyperlinkInternetTp::setFTPUser(const OUString& rUser, const OUString& r maFtPassword.Enable (); maEdLogin.Enable (); maEdPassword.Enable (); - maCbAnonymous.Check(sal_False); + maCbAnonymous.Check(false); } /************************************************************************* diff --git a/cui/source/dialogs/hlmailtp.cxx b/cui/source/dialogs/hlmailtp.cxx index 10ecdb06ec3d..08b2df329eda 100644 --- a/cui/source/dialogs/hlmailtp.cxx +++ b/cui/source/dialogs/hlmailtp.cxx @@ -52,7 +52,7 @@ SvxHyperlinkMailTp::SvxHyperlinkMailTp ( Window *pParent, const SfxItemSet& rIte maEdSubject ( this, CUI_RES (ED_SUBJECT) ) { // Disable display of bitmap names. - maBtAdrBook.EnableTextDisplay (sal_False); + maBtAdrBook.EnableTextDisplay (false); InitStdControls(); FreeResource(); diff --git a/cui/source/dialogs/hltpbase.cxx b/cui/source/dialogs/hltpbase.cxx index 198289f8c91c..12a45caf8f86 100644 --- a/cui/source/dialogs/hltpbase.cxx +++ b/cui/source/dialogs/hltpbase.cxx @@ -190,7 +190,7 @@ void SvxHyperlinkTabPageBase::InitStdControls () mpBtScript = new ImageButton ( this, ResId (BTN_SCRIPT, *m_pResMgr) ); mpBtScript->SetClickHdl ( LINK ( this, SvxHyperlinkTabPageBase, ClickScriptHdl_Impl ) ); - mpBtScript->EnableTextDisplay (sal_False); + mpBtScript->EnableTextDisplay (false); mpBtScript->SetAccessibleRelationMemberOf( mpGrpMore ); mpBtScript->SetAccessibleRelationLabeledBy( mpFtForm ); diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx index 2e8b4462ef56..9b812960cfbe 100644 --- a/cui/source/dialogs/iconcdlg.cxx +++ b/cui/source/dialogs/iconcdlg.cxx @@ -134,16 +134,16 @@ void IconChoicePage::ImplInitSettings() Window* pParent = GetParent(); if ( pParent->IsChildTransparentModeEnabled() && !IsControlBackground() ) { - EnableChildTransparentMode( sal_True ); + EnableChildTransparentMode( true ); SetParentClipMode( PARENTCLIPMODE_NOCLIP ); - SetPaintTransparent( sal_True ); + SetPaintTransparent( true ); SetBackground(); } else { - EnableChildTransparentMode( sal_False ); + EnableChildTransparentMode( false ); SetParentClipMode( 0 ); - SetPaintTransparent( sal_False ); + SetPaintTransparent( false ); if ( IsControlBackground() ) SetBackground( GetControlBackground() ); diff --git a/cui/source/dialogs/insdlg.cxx b/cui/source/dialogs/insdlg.cxx index 458f310ff926..98df52dadfde 100644 --- a/cui/source/dialogs/insdlg.cxx +++ b/cui/source/dialogs/insdlg.cxx @@ -187,7 +187,7 @@ SvInsertOleDlg::SvInsertOleDlg Link aLink( LINK( this, SvInsertOleDlg, RadioHdl ) ); m_pRbNewObject->SetClickHdl( aLink ); m_pRbObjectFromfile->SetClickHdl( aLink ); - m_pRbNewObject->Check( sal_True ); + m_pRbNewObject->Check( true ); RadioHdl( NULL ); } @@ -204,10 +204,10 @@ short SvInsertOleDlg::Execute() // fill listbox and select default ListBox& rBox = GetObjectTypes(); - rBox.SetUpdateMode( sal_False ); + rBox.SetUpdateMode( false ); for ( sal_uLong i = 0; i < m_pServers->Count(); i++ ) rBox.InsertEntry( (*m_pServers)[i].GetHumanName() ); - rBox.SetUpdateMode( sal_True ); + rBox.SetUpdateMode( true ); SelectDefault(); OUString aName; @@ -546,7 +546,7 @@ short SfxInsertFloatingFrameDialog::Execute() if ( nSize == SIZE_NOT_SET ) { - m_pCBMarginWidthDefault->Check( sal_True ); + m_pCBMarginWidthDefault->Check( true ); m_pNMMarginWidth->SetText( OUString::number(DEFAULT_MARGIN_WIDTH) ); m_pFTMarginWidth->Enable( false ); m_pNMMarginWidth->Enable( false ); @@ -559,7 +559,7 @@ short SfxInsertFloatingFrameDialog::Execute() if ( nSize == SIZE_NOT_SET ) { - m_pCBMarginHeightDefault->Check( sal_True ); + m_pCBMarginHeightDefault->Check( true ); m_pNMMarginHeight->SetText( OUString::number(DEFAULT_MARGIN_HEIGHT) ); m_pFTMarginHeight->Enable( false ); m_pNMMarginHeight->Enable( false ); @@ -599,7 +599,7 @@ short SfxInsertFloatingFrameDialog::Execute() m_pRBFrameBorderOff->Check( !bSet ); } - SetUpdateMode( sal_True ); + SetUpdateMode( true ); bOK = sal_True; } catch ( uno::Exception& ) diff --git a/cui/source/dialogs/pastedlg.cxx b/cui/source/dialogs/pastedlg.cxx index 0e3886bc0b6e..0530383c38cb 100644 --- a/cui/source/dialogs/pastedlg.cxx +++ b/cui/source/dialogs/pastedlg.cxx @@ -107,7 +107,7 @@ sal_uLong SvPasteObjectDialog::GetFormat( const TransferableDataHelper& rHelper, sal_uLong nSelFormat = 0; SvGlobalName aEmptyNm; - ObjectLB().SetUpdateMode( sal_False ); + ObjectLB().SetUpdateMode( false ); DataFlavorExVector::iterator aIter( ((DataFlavorExVector&)*pFormats).begin() ), aEnd( ((DataFlavorExVector&)*pFormats).end() ); @@ -183,7 +183,7 @@ sal_uLong SvPasteObjectDialog::GetFormat( const TransferableDataHelper& rHelper, } } - ObjectLB().SetUpdateMode( sal_True ); + ObjectLB().SetUpdateMode( true ); SelectObject(); if( !aSourceName.isEmpty() ) diff --git a/cui/source/dialogs/thesdlg.cxx b/cui/source/dialogs/thesdlg.cxx index 354eec47add1..36833f4a1bb4 100644 --- a/cui/source/dialogs/thesdlg.cxx +++ b/cui/source/dialogs/thesdlg.cxx @@ -64,7 +64,7 @@ LookUpComboBox::LookUpComboBox(Window *pParent) m_aModifyTimer.SetTimeoutHdl( LINK( this, LookUpComboBox, ModifyTimer_Hdl ) ); m_aModifyTimer.SetTimeout( 500 ); - EnableAutocomplete( sal_False ); + EnableAutocomplete( false ); } extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeLookUpComboBox(Window *pParent, VclBuilder::stringmap &) diff --git a/cui/source/dialogs/zoom.cxx b/cui/source/dialogs/zoom.cxx index fc3645202f6d..019e43c0b46b 100644 --- a/cui/source/dialogs/zoom.cxx +++ b/cui/source/dialogs/zoom.cxx @@ -362,7 +362,7 @@ IMPL_LINK( SvxZoomDialog, ViewLayoutSpinHdl, NumericField *, pEdt ) m_pBookModeChk->Enable(); else { - m_pBookModeChk->Check( sal_False ); + m_pBookModeChk->Check( false ); m_pBookModeChk->Disable(); } |