backingwindow.cxx (6e2074bd) backingwindow.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

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

49#include "cppuhelper/implbase1.hxx"
50
51#include "rtl/strbuf.hxx"
52#include "rtl/ustrbuf.hxx"
53#include "osl/file.h"
54
55#include "com/sun/star/lang/XMultiServiceFactory.hpp"
56#include "com/sun/star/container/XNameAccess.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

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

49#include "cppuhelper/implbase1.hxx"
50
51#include "rtl/strbuf.hxx"
52#include "rtl/ustrbuf.hxx"
53#include "osl/file.h"
54
55#include "com/sun/star/lang/XMultiServiceFactory.hpp"
56#include "com/sun/star/container/XNameAccess.hpp"
57#include "com/sun/star/system/XSystemShellExecute.hpp"
57#include "com/sun/star/system/SystemShellExecute.hpp"
58#include "com/sun/star/system/SystemShellExecuteFlags.hpp"
59#include "com/sun/star/task/XJobExecutor.hpp"
60#include "com/sun/star/util/XStringWidth.hpp"
61
62
63using namespace ::com::sun::star::beans;
64using namespace ::com::sun::star::frame;
65using namespace ::com::sun::star::uno;

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

966 aURLBuf.append(sLocale);
967
968 sParam = aURLBuf.makeStringAndClear();
969
970 aURLObj.SetParam( sParam );
971 sURL = aURLObj.GetMainURL( INetURLObject::NO_DECODE );
972
973 Reference< com::sun::star::system::XSystemShellExecute > xSystemShellExecute(
58#include "com/sun/star/system/SystemShellExecuteFlags.hpp"
59#include "com/sun/star/task/XJobExecutor.hpp"
60#include "com/sun/star/util/XStringWidth.hpp"
61
62
63using namespace ::com::sun::star::beans;
64using namespace ::com::sun::star::frame;
65using namespace ::com::sun::star::uno;

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

966 aURLBuf.append(sLocale);
967
968 sParam = aURLBuf.makeStringAndClear();
969
970 aURLObj.SetParam( sParam );
971 sURL = aURLObj.GetMainURL( INetURLObject::NO_DECODE );
972
973 Reference< com::sun::star::system::XSystemShellExecute > xSystemShellExecute(
974 comphelper::getProcessServiceFactory()->createInstance(
975 rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.system.SystemShellExecute" ) ) ),
976 UNO_QUERY_THROW);
974 com::sun::star::system::SystemShellExecute::create(
975 ::comphelper::getProcessComponentContext() ) );
977 //throws css::lang::IllegalArgumentException, css::system::SystemShellExecuteException
978 xSystemShellExecute->execute( sURL, rtl::OUString(), com::sun::star::system::SystemShellExecuteFlags::DEFAULTS);
979 }
980 }
981 }
982 catch (Exception& )
983 {
984 }

--- 148 unchanged lines hidden ---
976 //throws css::lang::IllegalArgumentException, css::system::SystemShellExecuteException
977 xSystemShellExecute->execute( sURL, rtl::OUString(), com::sun::star::system::SystemShellExecuteFlags::DEFAULTS);
978 }
979 }
980 }
981 catch (Exception& )
982 {
983 }

--- 148 unchanged lines hidden ---