summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/salhelper/dynload.hxx2
-rw-r--r--include/salhelper/timer.hxx16
2 files changed, 9 insertions, 9 deletions
diff --git a/include/salhelper/dynload.hxx b/include/salhelper/dynload.hxx
index 826a217c0649..35eb81159558 100644
--- a/include/salhelper/dynload.hxx
+++ b/include/salhelper/dynload.hxx
@@ -182,7 +182,7 @@ public:
}
/// checks if the loader works on a loaded and initialized library.
- sal_Bool SAL_CALL isLoaded() const SAL_THROW(())
+ bool SAL_CALL isLoaded() const SAL_THROW(())
{
return (m_pLoader != NULL);
}
diff --git a/include/salhelper/timer.hxx b/include/salhelper/timer.hxx
index 8043e8381eff..1b52522dea99 100644
--- a/include/salhelper/timer.hxx
+++ b/include/salhelper/timer.hxx
@@ -89,33 +89,33 @@ struct TTimeValue : public TimeValue
normalize();
}
- sal_Bool SAL_CALL isEmpty() const
+ bool SAL_CALL isEmpty() const
{
return ( ( Seconds == 0 ) && ( Nanosec == 0 ) );
}
};
-inline sal_Bool operator<( const TTimeValue& rTimeA, const TTimeValue& rTimeB )
+inline bool operator<( const TTimeValue& rTimeA, const TTimeValue& rTimeB )
{
if ( rTimeA.Seconds < rTimeB.Seconds )
- return sal_True;
+ return true;
else if ( rTimeA.Seconds > rTimeB.Seconds )
- return sal_False;
+ return false;
else
return ( rTimeA.Nanosec < rTimeB.Nanosec );
}
-inline sal_Bool operator>( const TTimeValue& rTimeA, const TTimeValue& rTimeB )
+inline bool operator>( const TTimeValue& rTimeA, const TTimeValue& rTimeB )
{
if ( rTimeA.Seconds > rTimeB.Seconds )
- return sal_True;
+ return true;
else if ( rTimeA.Seconds < rTimeB.Seconds )
- return sal_False;
+ return false;
else
return ( rTimeA.Nanosec > rTimeB.Nanosec );
}
-inline sal_Bool operator==( const TTimeValue& rTimeA, const TTimeValue& rTimeB )
+inline bool operator==( const TTimeValue& rTimeA, const TTimeValue& rTimeB )
{
return ( ( rTimeA.Seconds == rTimeB.Seconds ) &&
( rTimeA.Nanosec == rTimeB.Nanosec ) );