summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpobjstrm.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-22 14:14:14 +0200
committerNoel Grandin <noel@peralex.com>2014-04-23 11:11:50 +0200
commit2692047aacef7b4288f995ce6ff2db5e16b71014 (patch)
tree2d43552ad1a01cfb6287d54f35b5ae3ca538393b /lotuswordpro/source/filter/lwpobjstrm.cxx
parentca56379f27c53d4fa015d7adbb9494186f506de6 (diff)
lotuswordpro: sal_Bool->bool
Change-Id: I017d284a2fbc8d50a9928c9d934ffe710b0c652f
Diffstat (limited to 'lotuswordpro/source/filter/lwpobjstrm.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpobjstrm.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/lotuswordpro/source/filter/lwpobjstrm.cxx b/lotuswordpro/source/filter/lwpobjstrm.cxx
index 52949e4c2316..312ae67bc3f7 100644
--- a/lotuswordpro/source/filter/lwpobjstrm.cxx
+++ b/lotuswordpro/source/filter/lwpobjstrm.cxx
@@ -65,7 +65,7 @@
/**
* @descr ctor() from LwpSvStream
*/
-LwpObjectStream::LwpObjectStream(LwpSvStream *pStrm, sal_Bool isCompressed, sal_uInt16 size)
+LwpObjectStream::LwpObjectStream(LwpSvStream *pStrm, bool isCompressed, sal_uInt16 size)
:m_pContentBuf(NULL), m_nBufSize(size), m_nReadPos(0),
m_pStrm(pStrm), m_bCompressed(isCompressed)
{
@@ -192,26 +192,26 @@ void LwpObjectStream::SeekRel(sal_uInt16 pos)
/**
* @descr Seek to pos in object buffer/buffer
*/
-sal_Bool LwpObjectStream::Seek( sal_uInt16 pos)
+bool LwpObjectStream::Seek( sal_uInt16 pos)
{
if (pos < m_nBufSize)
{
m_nReadPos = pos;
- return sal_True;
+ return true;
}
- return sal_False;
+ return false;
}
/**
* @descr Quick read sal_Bool
*/
-sal_Bool LwpObjectStream::QuickReadBool(bool *pFailure)
+bool LwpObjectStream::QuickReadBool(bool *pFailure)
{
SVBT16 aValue = {0};
sal_uInt16 nRead = QuickRead(aValue, sizeof(aValue));
if (pFailure)
*pFailure = (nRead != sizeof(aValue));
- return static_cast<sal_Bool>(SVBT16ToShort(aValue));
+ return static_cast<bool>(SVBT16ToShort(aValue));
}
/**
* @descr Quick read sal_uInt32