diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-22 21:20:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-23 03:38:49 +0000 |
commit | 0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch) | |
tree | 5024cba9f9ea5e3b23ea26025323f6aef39488d0 /desktop/source/pkgchk | |
parent | b81ac16e65b311d6e43c05c22c65d2040c9d7e04 (diff) |
Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'desktop/source/pkgchk')
-rw-r--r-- | desktop/source/pkgchk/unopkg/unopkg_app.cxx | 4 | ||||
-rw-r--r-- | desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx | 18 | ||||
-rw-r--r-- | desktop/source/pkgchk/unopkg/unopkg_misc.cxx | 10 |
3 files changed, 16 insertions, 16 deletions
diff --git a/desktop/source/pkgchk/unopkg/unopkg_app.cxx b/desktop/source/pkgchk/unopkg/unopkg_app.cxx index 9b4ec1acb5d1..3ad157bd0a4f 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_app.cxx +++ b/desktop/source/pkgchk/unopkg/unopkg_app.cxx @@ -64,7 +64,7 @@ struct ExtensionName } }; -//------------------------------------------------------------------------------ + const char s_usingText [] = "\n" "using: " APP_NAME " add <options> extension-path...\n" @@ -104,7 +104,7 @@ const char s_usingText [] = "To learn more about the Extension Manager and extensions, see:\n" "http://wiki.openoffice.org/wiki/Documentation/DevGuide/Extensions/Extensions\n\n"; -//------------------------------------------------------------------------------ + const OptionInfo s_option_infos [] = { { RTL_CONSTASCII_STRINGPARAM("help"), 'h', false }, { RTL_CONSTASCII_STRINGPARAM("version"), 'V', false }, diff --git a/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx b/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx index dd35330a2c8f..046cce00bc7a 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx +++ b/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx @@ -94,7 +94,7 @@ public: }; -//______________________________________________________________________________ + CommandEnvironmentImpl::CommandEnvironmentImpl( Reference<XComponentContext> const & xComponentContext, OUString const & log_file, @@ -118,7 +118,7 @@ CommandEnvironmentImpl::CommandEnvironmentImpl( } } -//______________________________________________________________________________ + CommandEnvironmentImpl::~CommandEnvironmentImpl() { try { @@ -186,14 +186,14 @@ void CommandEnvironmentImpl::printLicense( } // XCommandEnvironment -//______________________________________________________________________________ + Reference< task::XInteractionHandler > CommandEnvironmentImpl::getInteractionHandler() throw (RuntimeException) { return this; } -//______________________________________________________________________________ + Reference< XProgressHandler > CommandEnvironmentImpl::getProgressHandler() throw (RuntimeException) { @@ -201,7 +201,7 @@ Reference< XProgressHandler > CommandEnvironmentImpl::getProgressHandler() } // XInteractionHandler -//______________________________________________________________________________ + void CommandEnvironmentImpl::handle( Reference<task::XInteractionRequest> const & xRequest ) throw (RuntimeException) @@ -321,7 +321,7 @@ void CommandEnvironmentImpl::handle( } // XProgressHandler -//______________________________________________________________________________ + void CommandEnvironmentImpl::push( Any const & Status ) throw (RuntimeException) { @@ -332,7 +332,7 @@ void CommandEnvironmentImpl::push( Any const & Status ) m_xLogFile->push( Status ); } -//______________________________________________________________________________ + void CommandEnvironmentImpl::update_( Any const & Status ) throw (RuntimeException) { @@ -374,7 +374,7 @@ void CommandEnvironmentImpl::update_( Any const & Status ) dp_misc::writeConsole(msg + "\n"); } -//______________________________________________________________________________ + void CommandEnvironmentImpl::update( Any const & Status ) throw (RuntimeException) { @@ -383,7 +383,7 @@ void CommandEnvironmentImpl::update( Any const & Status ) m_xLogFile->update( Status ); } -//______________________________________________________________________________ + void CommandEnvironmentImpl::pop() throw (RuntimeException) { OSL_ASSERT( m_logLevel > 0 ); diff --git a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx index 2a72df64d377..97b32ada28d0 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx +++ b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx @@ -241,14 +241,14 @@ OUString makeAbsoluteFileUrl( namespace { -//------------------------------------------------------------------------------ + inline void printf_space( sal_Int32 space ) { while (space--) dp_misc::writeConsole(" "); } -//------------------------------------------------------------------------------ + void printf_line( OUString const & name, OUString const & value, sal_Int32 level ) { @@ -256,7 +256,7 @@ void printf_line( dp_misc::writeConsole(name + ": " + value + "\n"); } -//------------------------------------------------------------------------------ + void printf_package( Reference<deployment::XPackage> const & xPackage, Reference<XCommandEnvironment> const & xCmdEnv, sal_Int32 level ) @@ -352,7 +352,7 @@ void printf_packages( namespace { -//------------------------------------------------------------------------------ + Reference<XComponentContext> bootstrapStandAlone() { Reference<XComponentContext> xContext = @@ -370,7 +370,7 @@ Reference<XComponentContext> bootstrapStandAlone() return xContext; } -//------------------------------------------------------------------------------ + Reference<XComponentContext> connectToOffice( Reference<XComponentContext> const & xLocalComponentContext, bool verbose ) |