summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-06-27 23:26:18 +0200
committerMichael Stahl <mstahl@redhat.com>2013-06-28 17:38:16 +0200
commitc99b97d306211fe346a7d0a5208aa99118208fc5 (patch)
tree5b9784ade91e8c39366d32ddbfcf7376fc2c6742 /unotools
parent7c3980053f15338ff8afaa11b4c5cbe7b6d7ecef (diff)
datetime.cxx: remove duplicative unused operators
Change-Id: I73aae52cc482f87fb27c35c5c0d9f7b378760906
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/misc/datetime.cxx29
1 files changed, 0 insertions, 29 deletions
diff --git a/unotools/source/misc/datetime.cxx b/unotools/source/misc/datetime.cxx
index b383dc587709..5101ee0ae70d 100644
--- a/unotools/source/misc/datetime.cxx
+++ b/unotools/source/misc/datetime.cxx
@@ -200,35 +200,6 @@ void typeConvert(const starutil::DateTime& _rDateTime, DateTime& _rOut)
_rOut = DateTime(aDate, aTime);
}
-// FIXME: these operators should be.... in toplevel namespace? announced in the .hxx file?
-//-------------------------------------------------------------------------
-bool operator ==(const starutil::DateTime& _rLeft, const starutil::DateTime& _rRight)
-{
- return ( _rLeft.NanoSeconds == _rRight.NanoSeconds) &&
- ( _rLeft.Seconds == _rRight.Seconds) &&
- ( _rLeft.Minutes == _rRight.Minutes) &&
- ( _rLeft.Hours == _rRight.Hours) &&
- ( _rLeft.Day == _rRight.Day) &&
- ( _rLeft.Month == _rRight.Month) &&
- ( _rLeft.Year == _rRight.Year) ;
-}
-
-//-------------------------------------------------------------------------
-bool operator ==(const starutil::Date& _rLeft, const starutil::Date& _rRight)
-{
- return ( _rLeft.Day == _rRight.Day) &&
- ( _rLeft.Month == _rRight.Month) &&
- ( _rLeft.Year == _rRight.Year) ;
-}
-
-//-------------------------------------------------------------------------
-bool operator ==(const starutil::Time& _rLeft, const starutil::Time& _rRight)
-{
- return ( _rLeft.NanoSeconds == _rRight.NanoSeconds) &&
- ( _rLeft.Seconds == _rRight.Seconds) &&
- ( _rLeft.Minutes == _rRight.Minutes) &&
- ( _rLeft.Hours == _rRight.Hours) ;
-}
OUString toISO8601(const starutil::DateTime& rDateTime)
{