summaryrefslogtreecommitdiff
path: root/sw/source/ui/docvw/srcedtw.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-01-23 21:08:35 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-01-23 21:17:08 +0900
commitcd97df31f28d8941b53929493c9651fbfda46395 (patch)
treecb60454be5b7a0a6c75bd8d16d64f01a2a52e0ed /sw/source/ui/docvw/srcedtw.cxx
parent4ef1bed7ec34809537d42b49a0e8581c3809ff93 (diff)
sal_Bool to bool
Change-Id: I27471e2331ff4813850fc5d3ca398ae6e1d86758
Diffstat (limited to 'sw/source/ui/docvw/srcedtw.cxx')
-rw-r--r--sw/source/ui/docvw/srcedtw.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/ui/docvw/srcedtw.cxx b/sw/source/ui/docvw/srcedtw.cxx
index 77fed4176ee4..9bf24bbee688 100644
--- a/sw/source/ui/docvw/srcedtw.cxx
+++ b/sw/source/ui/docvw/srcedtw.cxx
@@ -163,18 +163,18 @@ static void lcl_Highlight(const String& rSource, SwTextPortions& aPortionList)
// now we still have to look for '>'
if(svtools::HTMLUNKNOWN != eFoundType)
{
- sal_Bool bFound = sal_False;
+ bool bFound = false;
for(sal_uInt16 i = nPortEnd; i < nStrLen; i++)
if(cCloseBracket == rSource.GetChar(i))
{
- bFound = sal_True;
+ bFound = true;
nPortEnd = i;
break;
}
if(!bFound && (eFoundType == svtools::HTMLCOMMENT))
{
// comment without ending in this line
- bFound = sal_True;
+ bFound = true;
nPortEnd = nStrLen - 1;
}
@@ -439,7 +439,7 @@ void TextViewOutWin::KeyInput( const KeyEvent& rKEvt )
{
sal_Bool bDone = sal_False;
SwSrcEditWindow* pSrcEditWin = (SwSrcEditWindow*)GetParent();
- sal_Bool bChange = !pSrcEditWin->IsReadonly() || !TextEngine::DoesKeyChangeText( rKEvt );
+ bool bChange = !pSrcEditWin->IsReadonly() || !TextEngine::DoesKeyChangeText( rKEvt );
if(bChange)
bDone = pTextView->KeyInput( rKEvt );
@@ -787,7 +787,7 @@ void SwSrcEditWindow::GetFocus()
pOutWin->GrabFocus();
}
-static sal_Bool lcl_GetLanguagesForEncoding(rtl_TextEncoding eEnc, LanguageType aLanguages[])
+static bool lcl_GetLanguagesForEncoding(rtl_TextEncoding eEnc, LanguageType aLanguages[])
{
switch(eEnc)
{