summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-28 19:58:32 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-28 20:26:17 +0100
commit9d1c20259f08cd798a2f197a7ecef1bf6382be3f (patch)
treedbacfce0d0369ce22ac578b28616fc1332db8ac2 /include
parentb4c2496f44c29de0185116f86226df911828f51b (diff)
bool improvements
Change-Id: I7020537797b181b0fcbf78de3d7b962b96744895
Diffstat (limited to 'include')
-rw-r--r--include/unotools/idhelper.hxx10
-rw-r--r--include/unotools/ucblockbytes.hxx4
2 files changed, 7 insertions, 7 deletions
diff --git a/include/unotools/idhelper.hxx b/include/unotools/idhelper.hxx
index 80698a6031e2..bbbe959b52a3 100644
--- a/include/unotools/idhelper.hxx
+++ b/include/unotools/idhelper.hxx
@@ -50,9 +50,9 @@ public:
// first check the two lengths
if (nLengthLeft < nLengthRight)
- return sal_True;
+ return true;
if (nLengthLeft > nLengthRight)
- return sal_False;
+ return false;
// both sequences have the same length -> check the type names
const ::com::sun::star::uno::Type* pTypesLeft = lhs.getConstArray();
@@ -61,13 +61,13 @@ public:
{
sal_Int32 nTypeNameCompare = pTypesLeft->getTypeName().compareTo(pTypesRight->getTypeName());
if (nTypeNameCompare < 0)
- return sal_True;
+ return true;
if (nTypeNameCompare > 0)
- return sal_False;
+ return false;
}
// both sequences are equal ...
- return sal_False;
+ return false;
}
};
diff --git a/include/unotools/ucblockbytes.hxx b/include/unotools/ucblockbytes.hxx
index 75e9ef2d8eff..da557858cfb2 100644
--- a/include/unotools/ucblockbytes.hxx
+++ b/include/unotools/ucblockbytes.hxx
@@ -79,7 +79,7 @@ public:
};
UcbLockBytesHandler()
- : m_bActive( sal_True )
+ : m_bActive( true )
{}
virtual void Handle( LoadHandlerItem nWhich, UcbLockBytesRef xLockBytes ) = 0;
@@ -182,7 +182,7 @@ public:
}
void setDontClose_Impl()
- { m_bDontClose = sal_True; }
+ { m_bDontClose = true; }
void SetContentType_Impl( const OUString& rType ) { m_aContentType = rType; }
void SetRealURL_Impl( const OUString& rURL ) { m_aRealURL = rURL; }