summaryrefslogtreecommitdiff
path: root/tools/source/datetime
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-01-17 15:28:11 +0100
committerThomas Arnhold <thomas@arnhold.org>2012-01-17 17:01:26 +0100
commit804e86170ff2570fd3826b4ac26d1c927e751ac3 (patch)
tree0c24d6df02314b38dc17650030da80419a94b6b2 /tools/source/datetime
parent3c8478e26bde41c35c75557d985f5734d8d1a2bd (diff)
remove unused methods
Diffstat (limited to 'tools/source/datetime')
-rw-r--r--tools/source/datetime/datetime.cxx17
1 files changed, 0 insertions, 17 deletions
diff --git a/tools/source/datetime/datetime.cxx b/tools/source/datetime/datetime.cxx
index e58646d332d4..3936389f4dbc 100644
--- a/tools/source/datetime/datetime.cxx
+++ b/tools/source/datetime/datetime.cxx
@@ -128,23 +128,6 @@ long DateTime::GetSecFromDateTime( const Date& rDate ) const
/*************************************************************************
|*
-|* DateTime::GetSecFromDateTime()
-|*
-*************************************************************************/
-
-void DateTime::MakeDateTimeFromSec( const Date& rDate, sal_uIntPtr nSec )
-{
- long nDays = nSec / (24UL*60*60);
- ((Date*)this)->operator=( rDate );
- nSec -= nDays * (24UL*60*60);
- sal_uInt16 nMin = (sal_uInt16)(nSec / 60);
- nSec -= nMin * 60;
- ((Time*)this)->operator=( Time( 0, nMin, (sal_uInt16)nSec ) );
- operator+=( nDays );
-}
-
-/*************************************************************************
-|*
|* DateTime::operator +=()
|*
*************************************************************************/