diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-01-21 16:35:51 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-01-21 16:35:51 +0000 |
commit | 6866df5a2b25a8f8cb8cc0209819dcbbe6ada972 (patch) | |
tree | 854b85190a48ddc6a0b56c6a474b531c7da74edc /desktop | |
parent | ed0a7ec898d4ef849bb914905913f25797c27a84 (diff) |
INTEGRATION: CWS dba22 (1.42.62); FILE MERGED
2005/01/10 14:44:07 oj 1.42.62.1: #i38091# fix for service:
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/officeipcthread.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/desktop/source/app/officeipcthread.cxx b/desktop/source/app/officeipcthread.cxx index fadb8f50d5b1..d0edc1f6b2bf 100644 --- a/desktop/source/app/officeipcthread.cxx +++ b/desktop/source/app/officeipcthread.cxx @@ -2,9 +2,9 @@ * * $RCSfile: officeipcthread.cxx,v $ * - * $Revision: 1.42 $ + * $Revision: 1.43 $ * - * last change: $Author: hr $ $Date: 2004-08-02 14:40:02 $ + * last change: $Author: kz $ $Date: 2005-01-21 17:35:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -661,7 +661,11 @@ void SAL_CALL OfficeIPCThread::run() eFactory = SvtModuleOptions::E_WRITERGLOBAL; else if ( aCmdLineArgs.IsWeb() ) eFactory = SvtModuleOptions::E_WRITERWEB; - AddURLToStringList( aOpt.GetFactoryEmptyDocumentURL( eFactory ), pRequest->aOpenList ); + + if ( eFactory != SvtModuleOptions::E_DATABASE ) + AddURLToStringList( aOpt.GetFactoryEmptyDocumentURL( eFactory ), pRequest->aOpenList ); + else + AddURLToStringList( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("service:com.sun.star.sdb.DatabaseWizardDialog")), pRequest->aOpenList ); bDocRequestSent = sal_True; } } |