summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-24 11:31:45 +0200
committerNoel Grandin <noel@peralex.com>2014-03-25 14:32:55 +0200
commitbdd2df77234e1df3d9795f45239d2f442e90670c (patch)
tree479db3d4e096bd5c80b10961cd4e3da76b24c16a /svtools
parentb4d4ede795cbdbb813197fcfaac43e80af4ea566 (diff)
svtools/svparser.hxx: sal_Bool->bool
Change-Id: I130c40227a756b396c4f858468457867d53454b1
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/svrtf/svparser.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/svtools/source/svrtf/svparser.cxx b/svtools/source/svrtf/svparser.cxx
index 1fc8fde3b91a..0ecdca449ba0 100644
--- a/svtools/source/svrtf/svparser.cxx
+++ b/svtools/source/svrtf/svparser.cxx
@@ -164,14 +164,14 @@ sal_Unicode SvParser::GetNextChar()
if( 0xfe == c1 && 0xff == c2 )
{
eSrcEnc = RTL_TEXTENCODING_UCS2;
- bUCS2BSrcEnc = sal_True;
- bSeekBack = sal_False;
+ bUCS2BSrcEnc = true;
+ bSeekBack = false;
}
else if( 0xff == c1 && 0xfe == c2 )
{
eSrcEnc = RTL_TEXTENCODING_UCS2;
- bUCS2BSrcEnc = sal_False;
- bSeekBack = sal_False;
+ bUCS2BSrcEnc = false;
+ bSeekBack = false;
}
}
}
@@ -179,7 +179,7 @@ sal_Unicode SvParser::GetNextChar()
if( bSeekBack )
rInput.Seek( 0 );
- bSwitchToUCS2 = sal_False;
+ bSwitchToUCS2 = false;
}
nNextChPos = rInput.Tell();
@@ -641,7 +641,7 @@ SvKeyValueIterator::~SvKeyValueIterator (void)
/*
* GetFirst.
*/
-sal_Bool SvKeyValueIterator::GetFirst (SvKeyValue &rKeyVal)
+bool SvKeyValueIterator::GetFirst (SvKeyValue &rKeyVal)
{
m_nPos = m_pList->size();
return GetNext (rKeyVal);
@@ -650,17 +650,17 @@ sal_Bool SvKeyValueIterator::GetFirst (SvKeyValue &rKeyVal)
/*
* GetNext.
*/
-sal_Bool SvKeyValueIterator::GetNext (SvKeyValue &rKeyVal)
+bool SvKeyValueIterator::GetNext (SvKeyValue &rKeyVal)
{
if (m_nPos > 0)
{
rKeyVal = (*m_pList)[--m_nPos];
- return sal_True;
+ return true;
}
else
{
// Nothing to do.
- return sal_False;
+ return false;
}
}