summaryrefslogtreecommitdiff
path: root/framework/source/jobs/shelljob.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/jobs/shelljob.cxx')
-rw-r--r--framework/source/jobs/shelljob.cxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/framework/source/jobs/shelljob.cxx b/framework/source/jobs/shelljob.cxx
index 47f9847a58cd..0653be8e7e83 100644
--- a/framework/source/jobs/shelljob.cxx
+++ b/framework/source/jobs/shelljob.cxx
@@ -17,15 +17,12 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
-
// include own header
#include <jobs/shelljob.hxx>
#include <jobs/jobconst.hxx>
#include <services.h>
-
// include others
#include <osl/file.hxx>
@@ -35,16 +32,13 @@
#include <comphelper/processfactory.hxx>
#include <comphelper/sequenceashashmap.hxx>
-
// include interfaces
#include <com/sun/star/util/PathSubstitution.hpp>
#include <com/sun/star/util/XStringSubstitution.hpp>
-
namespace framework{
-
/** address job configuration inside argument set provided on method execute(). */
static const OUString PROP_JOBCONFIG("JobConfig");
@@ -60,8 +54,6 @@ static const OUString PROP_DEACTIVATEJOBIFDONE("DeactivateJobIfDone");
/** address job configuration property "CheckExitCode". */
static const OUString PROP_CHECKEXITCODE("CheckExitCode");
-
-
DEFINE_XSERVICEINFO_MULTISERVICE_2(ShellJob ,
::cppu::OWeakObject ,
SERVICENAME_JOB ,
@@ -77,18 +69,15 @@ DEFINE_INIT_SERVICE(ShellJob,
}
)
-
ShellJob::ShellJob(const css::uno::Reference< css::uno::XComponentContext >& xContext)
: m_xContext (xContext)
{
}
-
ShellJob::~ShellJob()
{
}
-
css::uno::Any SAL_CALL ShellJob::execute(const css::uno::Sequence< css::beans::NamedValue >& lJobArguments)
throw(css::lang::IllegalArgumentException,
css::uno::Exception ,
@@ -126,7 +115,6 @@ css::uno::Any SAL_CALL ShellJob::execute(const css::uno::Sequence< css::beans::N
return css::uno::Any();
}
-
css::uno::Any ShellJob::impl_generateAnswer4Deactivation()
{
css::uno::Sequence< css::beans::NamedValue > aAnswer(1);
@@ -136,7 +124,6 @@ css::uno::Any ShellJob::impl_generateAnswer4Deactivation()
return css::uno::makeAny(aAnswer);
}
-
OUString ShellJob::impl_substituteCommandVariables(const OUString& sCommand)
{
try
@@ -153,7 +140,6 @@ OUString ShellJob::impl_substituteCommandVariables(const OUString& sCommand)
return OUString();
}
-
sal_Bool ShellJob::impl_execute(const OUString& sCommand ,
const css::uno::Sequence< OUString >& lArguments ,
sal_Bool bCheckExitCode)