summaryrefslogtreecommitdiff
path: root/include/tools/datetime.hxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2013-06-29 23:57:38 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2013-06-30 04:58:49 +0000
commit710f41b7aec8e7d35a0da8be332aa289f98942af (patch)
treeb894ef2d3f06a63a85f423b2713a654ea57f9c69 /include/tools/datetime.hxx
parent1ca3beae12a7f222c987481e07a544845fc9fd46 (diff)
Clean String and sal_Bool in tools
Change-Id: I6a92196f33d7a5278c7dcc426112e9c56d582655 Reviewed-on: https://gerrit.libreoffice.org/4627 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'include/tools/datetime.hxx')
-rw-r--r--include/tools/datetime.hxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/tools/datetime.hxx b/include/tools/datetime.hxx
index 1de0f3d6432c..a8d732efc510 100644
--- a/include/tools/datetime.hxx
+++ b/include/tools/datetime.hxx
@@ -47,26 +47,26 @@ public:
DateTime( const Date& rDate, const Time& rTime ) :
Date( rDate ), Time( rTime ) {}
- sal_Bool IsBetween( const DateTime& rFrom,
+ bool IsBetween( const DateTime& rFrom,
const DateTime& rTo ) const;
- sal_Bool IsEqualIgnoreNanoSec( const DateTime& rDateTime ) const
+ bool IsEqualIgnoreNanoSec( const DateTime& rDateTime ) const
{
if ( Date::operator!=( rDateTime ) )
- return sal_False;
+ return false;
return Time::IsEqualIgnoreNanoSec( rDateTime );
}
- sal_Bool operator ==( const DateTime& rDateTime ) const
+ bool operator ==( const DateTime& rDateTime ) const
{ return (Date::operator==( rDateTime ) &&
Time::operator==( rDateTime )); }
- sal_Bool operator !=( const DateTime& rDateTime ) const
+ bool operator !=( const DateTime& rDateTime ) const
{ return (Date::operator!=( rDateTime ) ||
Time::operator!=( rDateTime )); }
- sal_Bool operator >( const DateTime& rDateTime ) const;
- sal_Bool operator <( const DateTime& rDateTime ) const;
- sal_Bool operator >=( const DateTime& rDateTime ) const;
- sal_Bool operator <=( const DateTime& rDateTime ) const;
+ bool operator >( const DateTime& rDateTime ) const;
+ bool operator <( const DateTime& rDateTime ) const;
+ bool operator >=( const DateTime& rDateTime ) const;
+ bool operator <=( const DateTime& rDateTime ) const;
long GetSecFromDateTime( const Date& rDate ) const;