updatecheck.cxx (2a97ec55) updatecheck.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

--- 19 unchanged lines hidden (view full) ---

28
29#include <cppuhelper/implbase1.hxx>
30#include <com/sun/star/beans/XFastPropertySet.hpp>
31#include <com/sun/star/lang/XComponent.hpp>
32#include <com/sun/star/frame/XDesktop.hpp>
33#include <com/sun/star/frame/XFrame.hpp>
34#include <com/sun/star/frame/DispatchResultEvent.hpp>
35#include <com/sun/star/frame/DispatchResultState.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

--- 19 unchanged lines hidden (view full) ---

28
29#include <cppuhelper/implbase1.hxx>
30#include <com/sun/star/beans/XFastPropertySet.hpp>
31#include <com/sun/star/lang/XComponent.hpp>
32#include <com/sun/star/frame/XDesktop.hpp>
33#include <com/sun/star/frame/XFrame.hpp>
34#include <com/sun/star/frame/DispatchResultEvent.hpp>
35#include <com/sun/star/frame/DispatchResultState.hpp>
36#include <com/sun/star/system/XSystemShellExecute.hpp>
36#include <com/sun/star/system/SystemShellExecute.hpp>
37#include <com/sun/star/system/SystemShellExecuteFlags.hpp>
38#include <com/sun/star/task/XJob.hpp>
39#include <com/sun/star/task/XJobExecutor.hpp>
40
41// #include <comphelper/processfactory.hxx>
42
43#include <rtl/ustrbuf.hxx>
44

--- 882 unchanged lines hidden (view full) ---

927//------------------------------------------------------------------------------
928
929void
930UpdateCheck::install()
931{
932 osl::MutexGuard aGuard(m_aMutex);
933
934 const uno::Reference< c3s::XSystemShellExecute > xShellExecute(
37#include <com/sun/star/system/SystemShellExecuteFlags.hpp>
38#include <com/sun/star/task/XJob.hpp>
39#include <com/sun/star/task/XJobExecutor.hpp>
40
41// #include <comphelper/processfactory.hxx>
42
43#include <rtl/ustrbuf.hxx>
44

--- 882 unchanged lines hidden (view full) ---

927//------------------------------------------------------------------------------
928
929void
930UpdateCheck::install()
931{
932 osl::MutexGuard aGuard(m_aMutex);
933
934 const uno::Reference< c3s::XSystemShellExecute > xShellExecute(
935 createService( UNISTRING( "com.sun.star.system.SystemShellExecute" ), m_xContext ),
936 uno::UNO_QUERY );
935 c3s::SystemShellExecute::create( m_xContext ) );
937
938 try {
939 // Construct install command ??
940
941 // Store release note for position 3 and 4
942 rtl::OUString aURL(getReleaseNote(m_aUpdateInfo, 3));
943 storeReleaseNote(1, aURL);
944

--- 742 unchanged lines hidden ---
936
937 try {
938 // Construct install command ??
939
940 // Store release note for position 3 and 4
941 rtl::OUString aURL(getReleaseNote(m_aUpdateInfo, 3));
942 storeReleaseNote(1, aURL);
943

--- 742 unchanged lines hidden ---