diff options
Diffstat (limited to 'shell/source/unix/exec/shellexec.cxx')
-rw-r--r-- | shell/source/unix/exec/shellexec.cxx | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/shell/source/unix/exec/shellexec.cxx b/shell/source/unix/exec/shellexec.cxx index 7f12a80b76ef..71f01e764a56 100644 --- a/shell/source/unix/exec/shellexec.cxx +++ b/shell/source/unix/exec/shellexec.cxx @@ -42,20 +42,15 @@ #include <errno.h> #include <unistd.h> - -// namespace directives - - using com::sun::star::system::XSystemShellExecute; using com::sun::star::system::SystemShellExecuteException; - using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::system::SystemShellExecuteFlags; using namespace cppu; -namespace // private +namespace { Sequence< OUString > SAL_CALL ShellExec_getSupportedServiceNames() { @@ -78,7 +73,6 @@ void escapeForShell( OStringBuffer & rBuffer, const OString & rURL) } } - ShellExec::ShellExec( const Reference< XComponentContext >& xContext ) : WeakImplHelper< XSystemShellExecute, XServiceInfo >(), m_xContext(xContext) @@ -100,7 +94,6 @@ ShellExec::ShellExec( const Reference< XComponentContext >& xContext ) : } } - void SAL_CALL ShellExec::execute( const OUString& aCommand, const OUString& aParameter, sal_Int32 nFlags ) throw (IllegalArgumentException, SystemShellExecuteException, RuntimeException, std::exception) { @@ -217,20 +210,19 @@ void SAL_CALL ShellExec::execute( const OUString& aCommand, const OUString& aPar } // XServiceInfo + OUString SAL_CALL ShellExec::getImplementationName( ) throw( RuntimeException, std::exception ) { return OUString("com.sun.star.comp.system.SystemShellExecute"); } -// XServiceInfo sal_Bool SAL_CALL ShellExec::supportsService( const OUString& ServiceName ) throw( RuntimeException, std::exception ) { return cppu::supportsService(this, ServiceName); } -// XServiceInfo Sequence< OUString > SAL_CALL ShellExec::getSupportedServiceNames( ) throw( RuntimeException, std::exception ) { |