appserv.cxx (ea0b7ef3) | appserv.cxx (9807c9de) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 25 unchanged lines hidden (view full) --- 34#include <com/sun/star/frame/XDispatchHelper.hpp> 35#include <com/sun/star/frame/XFramesSupplier.hpp> 36#include <com/sun/star/util/XCloseable.hpp> 37#include <com/sun/star/util/CloseVetoException.hpp> 38#include <com/sun/star/frame/XLayoutManager.hpp> 39#include <com/sun/star/document/XEmbeddedScripts.hpp> 40#include <com/sun/star/embed/XStorage.hpp> 41#include <com/sun/star/embed/ElementModes.hpp> | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 25 unchanged lines hidden (view full) --- 34#include <com/sun/star/frame/XDispatchHelper.hpp> 35#include <com/sun/star/frame/XFramesSupplier.hpp> 36#include <com/sun/star/util/XCloseable.hpp> 37#include <com/sun/star/util/CloseVetoException.hpp> 38#include <com/sun/star/frame/XLayoutManager.hpp> 39#include <com/sun/star/document/XEmbeddedScripts.hpp> 40#include <com/sun/star/embed/XStorage.hpp> 41#include <com/sun/star/embed/ElementModes.hpp> |
42#include <com/sun/star/system/XSystemShellExecute.hpp> | 42#include <com/sun/star/system/SystemShellExecute.hpp> |
43#include <com/sun/star/system/SystemShellExecuteFlags.hpp> 44#include <com/sun/star/system/SystemShellExecuteException.hpp> 45 46#include <comphelper/processfactory.hxx> 47#include <comphelper/storagehelper.hxx> 48#include "comphelper/configurationhelper.hxx" 49 50#include <svtools/addresstemplate.hxx> --- 795 unchanged lines hidden (view full) --- 846 } 847 break; 848 } 849 850 case SID_MORE_DICTIONARIES: 851 { 852 try 853 { | 43#include <com/sun/star/system/SystemShellExecuteFlags.hpp> 44#include <com/sun/star/system/SystemShellExecuteException.hpp> 45 46#include <comphelper/processfactory.hxx> 47#include <comphelper/storagehelper.hxx> 48#include "comphelper/configurationhelper.hxx" 49 50#include <svtools/addresstemplate.hxx> --- 795 unchanged lines hidden (view full) --- 846 } 847 break; 848 } 849 850 case SID_MORE_DICTIONARIES: 851 { 852 try 853 { |
854 uno::Reference< lang::XMultiServiceFactory > xSMGR = 855 ::comphelper::getProcessServiceFactory(); | |
856 uno::Reference< css::system::XSystemShellExecute > xSystemShell( | 854 uno::Reference< css::system::XSystemShellExecute > xSystemShell( |
857 xSMGR->createInstance( DEFINE_CONST_UNICODE("com.sun.star.system.SystemShellExecute" ) ), 858 uno::UNO_QUERY_THROW ); 859 | 855 css::system::SystemShellExecute::create( 856 ::comphelper::getProcessComponentContext() ) ); 857 |
860 // read repository URL from configuration 861 ::rtl::OUString sTemplRepoURL = 862 getConfigurationStringValue( 863 ::rtl::OUString::createFromAscii("org.openoffice.Office.Common"), 864 ::rtl::OUString::createFromAscii("Dictionaries"), 865 ::rtl::OUString::createFromAscii("RepositoryURL"), 866 ::rtl::OUString()); 867 --- 356 unchanged lines hidden --- | 858 // read repository URL from configuration 859 ::rtl::OUString sTemplRepoURL = 860 getConfigurationStringValue( 861 ::rtl::OUString::createFromAscii("org.openoffice.Office.Common"), 862 ::rtl::OUString::createFromAscii("Dictionaries"), 863 ::rtl::OUString::createFromAscii("RepositoryURL"), 864 ::rtl::OUString()); 865 --- 356 unchanged lines hidden --- |