diff options
Diffstat (limited to 'framework/inc/jobs/shelljob.hxx')
-rw-r--r-- | framework/inc/jobs/shelljob.hxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/framework/inc/jobs/shelljob.hxx b/framework/inc/jobs/shelljob.hxx index 4434bd8fbafa..736c0630fb7b 100644 --- a/framework/inc/jobs/shelljob.hxx +++ b/framework/inc/jobs/shelljob.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_JOBS_SHELLJOB_HXX -#define INCLUDED_FRAMEWORK_INC_JOBS_SHELLJOB_HXX +#pragma once #include <cppuhelper/implbase.hxx> @@ -55,7 +54,7 @@ class ShellJob final : public ::cppu::WeakImplHelper< css::lang::XServiceInfo,cs reference to the uno service manager, which created this instance. Can be used later to create own needed uno resources on demand. */ - ShellJob(const css::uno::Reference< css::uno::XComponentContext >& xContext); + ShellJob(css::uno::Reference< css::uno::XComponentContext > xContext); /** @short does nothing real ... @@ -116,13 +115,11 @@ class ShellJob final : public ::cppu::WeakImplHelper< css::lang::XServiceInfo,cs @return sal_True if command was executed successfully; sal_False otherwise. */ - bool impl_execute(const OUString& sCommand , + static bool impl_execute(const OUString& sCommand , const css::uno::Sequence< OUString >& lArguments , bool bCheckExitCode); }; } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_JOBS_SHELLJOB_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |