From 9eecaa48db37deaf7a2eaec2487591ad894a5b3f Mon Sep 17 00:00:00 2001 From: Mathias Bauer Date: Fri, 8 Dec 2000 12:32:16 +0000 Subject: #81581#: expire date for early access --- desktop/source/app/app.cxx | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'desktop/source/app') diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 774ca380d5b7..0a2f999fcb69 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -2,9 +2,9 @@ * * $RCSfile: app.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: mba $ $Date: 2000-12-08 08:45:22 $ + * last change: $Author: mba $ $Date: 2000-12-08 13:32:16 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -109,6 +109,15 @@ void Desktop::Main() ResMgr::SetReadStringHook( ReplaceStringHookProc ); SetAppName( DEFINE_CONST_UNICODE("soffice") ); + Date aDate; + Date aFinalDate( 30, 4, 2001 ); + if ( aFinalDate < aDate ) + { + String aMsg; + aMsg += DEFINE_CONST_UNICODE("This Early Access Version has expired!\n"); + Application::Abort( aMsg ); + } + Installer* pInstaller = new Installer; pInstaller->InitializeInstallation( Application::GetAppFileName() ); delete pInstaller; -- cgit