summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-20 11:55:27 +0200
committerNoel Grandin <noel@peralex.com>2014-02-21 12:19:23 +0200
commit7e06ccad8f4d654585f3aa6dbdf2933370d60756 (patch)
tree50260d6e2d098679d9859cd8baa41314a0253f76 /sc
parent72c64c769191a673c83ce7ea4a626128fa5c8558 (diff)
editeng: sal_Bool->bool
Change-Id: I36cb765d87ddef1fba3447a3ea90e5285cbcd678
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/app/inputwin.cxx6
-rw-r--r--sc/source/ui/formdlg/dwfunctr.cxx2
-rw-r--r--sc/source/ui/pagedlg/tphfedit.cxx4
-rw-r--r--sc/source/ui/view/spelleng.cxx4
-rw-r--r--sc/source/ui/view/viewfun4.cxx2
5 files changed, 9 insertions, 9 deletions
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index 0d68b5a0b075..3168f95d31fa 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -551,7 +551,7 @@ void ScInputWindow::Select()
pView->SetSelection( ESelection(0, nStartPos, 0, nEndPos) );
pScMod->InputChanged(pView);
SetOkCancelMode();
- pView->SetEditEngineUpdateMode(sal_True);
+ pView->SetEditEngineUpdateMode(true);
}
}
break;
@@ -636,7 +636,7 @@ void ScInputWindow::SetFuncString( const OUString& rString, bool bDoEdit )
if ( bDoEdit )
SetOkCancelMode(); // nicht, wenn gleich hinterher Enter/Cancel
- pView->SetEditEngineUpdateMode(sal_True);
+ pView->SetEditEngineUpdateMode(true);
}
}
}
@@ -1569,7 +1569,7 @@ void ScTextWnd::MouseButtonDown( const MouseEvent& rMEvt )
if (pEditView)
{
- pEditView->SetEditEngineUpdateMode( sal_True );
+ pEditView->SetEditEngineUpdateMode( true );
pEditView->MouseButtonDown( rMEvt );
}
}
diff --git a/sc/source/ui/formdlg/dwfunctr.cxx b/sc/source/ui/formdlg/dwfunctr.cxx
index 10089b370031..8538a80121c2 100644
--- a/sc/source/ui/formdlg/dwfunctr.cxx
+++ b/sc/source/ui/formdlg/dwfunctr.cxx
@@ -907,7 +907,7 @@ void ScFunctionDockWin::DoEnter()
if(nArgs>0)
{
pHdl->InsertFunction(aString);
- pEdView->InsertText(aArgStr,sal_True);
+ pEdView->InsertText(aArgStr,true);
ESelection aESel=pEdView->GetSelection();
aESel.nEndPos = aESel.nStartPos + aFirstArgStr.getLength();
pEdView->SetSelection(aESel);
diff --git a/sc/source/ui/pagedlg/tphfedit.cxx b/sc/source/ui/pagedlg/tphfedit.cxx
index 31d758b63959..7bd3fca375f6 100644
--- a/sc/source/ui/pagedlg/tphfedit.cxx
+++ b/sc/source/ui/pagedlg/tphfedit.cxx
@@ -249,7 +249,7 @@ void ScEditWindow::Paint( const Rectangle& rRect )
pEdView->Paint( rRect );
if( HasFocus() )
- pEdView->ShowCursor(sal_True,sal_True);
+ pEdView->ShowCursor(true,true);
}
// -----------------------------------------------------------------------
@@ -310,7 +310,7 @@ void ScEditWindow::Command( const CommandEvent& rCEvt )
void ScEditWindow::GetFocus()
{
- pEdView->ShowCursor(sal_True,sal_True);
+ pEdView->ShowCursor(true,true);
pActiveEdWnd = this;
::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > xTemp = xAcc;
diff --git a/sc/source/ui/view/spelleng.cxx b/sc/source/ui/view/spelleng.cxx
index 2dc23dc8d122..2cda6342f8f0 100644
--- a/sc/source/ui/view/spelleng.cxx
+++ b/sc/source/ui/view/spelleng.cxx
@@ -283,7 +283,7 @@ void ScSpellingEngine::ConvertAll( EditView& rEditView )
{
EESpellState eState = EE_SPELL_OK;
if( FindNextConversionCell() )
- eState = rEditView.StartSpeller( static_cast< sal_Bool >( sal_True ) );
+ eState = rEditView.StartSpeller( true );
OSL_ENSURE( eState != EE_SPELL_NOSPELLER, "ScSpellingEngine::Convert - no spell checker" );
if( eState == EE_SPELL_NOLANGUAGE )
@@ -392,7 +392,7 @@ void ScTextConversionEngine::ConvertAll( EditView& rEditView )
{
rEditView.StartTextConversion(
maConvParam.GetSourceLang(), maConvParam.GetTargetLang(), maConvParam.GetTargetFont(),
- maConvParam.GetOptions(), maConvParam.IsInteractive(), sal_True );
+ maConvParam.GetOptions(), maConvParam.IsInteractive(), true );
// #i34769# restore initial cursor position
RestoreCursorPos();
}
diff --git a/sc/source/ui/view/viewfun4.cxx b/sc/source/ui/view/viewfun4.cxx
index 1f279b833aac..526160916eff 100644
--- a/sc/source/ui/view/viewfun4.cxx
+++ b/sc/source/ui/view/viewfun4.cxx
@@ -105,7 +105,7 @@ void ScViewFunc::PasteRTF( SCCOL nStartCol, SCROW nStartRow,
// same method now for clipboard or drag&drop
// mba: clipboard always must contain absolute URLs (could be from alien source)
- aEditView.InsertText( rxTransferable, OUString(), sal_True );
+ aEditView.InsertText( rxTransferable, OUString(), true );
}
sal_Int32 nParCnt = pEngine->GetParagraphCount();