diff options
author | Mathias Bauer <mba@openoffice.org> | 2000-12-08 12:32:16 +0000 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2000-12-08 12:32:16 +0000 |
commit | 9eecaa48db37deaf7a2eaec2487591ad894a5b3f (patch) | |
tree | ea870f95d9302f8f5795b20903f30cb33e7b3452 /desktop/source/app | |
parent | b4162859b5fd23d7275dcee1829ff82172ace033 (diff) |
#81581#: expire date for early access
Diffstat (limited to 'desktop/source/app')
-rw-r--r-- | desktop/source/app/app.cxx | 13 |
1 files changed, 11 insertions, 2 deletions
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; |