diff options
author | Oliver Bolte <obo@openoffice.org> | 2008-01-07 08:54:12 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2008-01-07 08:54:12 +0000 |
commit | 9743b393dc7cf13a43773919660b970563f9f234 (patch) | |
tree | e7cc0f3b95b8d01d3bdfddb98c9c20ded233f5b0 /vcl/workben | |
parent | 376f8860edd4932bfd5a06fc4b1af1de0298b653 (diff) |
INTEGRATION: CWS sb80 (1.4.54); FILE MERGED
2007/11/15 15:00:53 sb 1.4.54.1: #i81275# Consolidated the platform-specific salmain.cxx into a single platform-independent one; call new tools::extendApplicationEnvironment from main functions.
Diffstat (limited to 'vcl/workben')
-rw-r--r-- | vcl/workben/vcldemo.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx index 30c71a87c461..8b8e96fe972f 100644 --- a/vcl/workben/vcldemo.cxx +++ b/vcl/workben/vcldemo.cxx @@ -4,9 +4,9 @@ * * $RCSfile: vcldemo.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: kz $ $Date: 2007-10-09 15:22:43 $ + * last change: $Author: obo $ $Date: 2008-01-07 09:54:12 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -37,6 +37,7 @@ #include "precompiled_vcl.hxx" #include <sal/main.h> +#include <tools/extendapplicationenvironment.hxx> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <vcl/event.hxx> @@ -64,6 +65,8 @@ void Main(); SAL_IMPLEMENT_MAIN() { + tools::extendApplicationEnvironment(); + Reference< XMultiServiceFactory > xMS; xMS = cppu::createRegistryServiceFactory( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "applicat.rdb" ) ), sal_True ); |