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/migration | |
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/migration')
4 files changed, 53 insertions, 53 deletions
diff --git a/desktop/source/migration/services/basicmigration.cxx b/desktop/source/migration/services/basicmigration.cxx index c35a167e8a94..e61607d5d6bc 100644 --- a/desktop/source/migration/services/basicmigration.cxx +++ b/desktop/source/migration/services/basicmigration.cxx @@ -45,7 +45,7 @@ namespace migration return OUString("com.sun.star.comp.desktop.migration.Basic"); } - // ----------------------------------------------------------------------------- + Sequence< OUString > BasicMigration_getSupportedServiceNames() { @@ -62,13 +62,13 @@ namespace migration { } - // ----------------------------------------------------------------------------- + BasicMigration::~BasicMigration() { } - // ----------------------------------------------------------------------------- + TStringVectorPtr BasicMigration::getFiles( const OUString& rBaseURL ) const { @@ -105,7 +105,7 @@ namespace migration return aResult; } - // ----------------------------------------------------------------------------- + ::osl::FileBase::RC BasicMigration::checkAndCreateDirectory( INetURLObject& rDirURL ) { @@ -123,7 +123,7 @@ namespace migration } } - // ----------------------------------------------------------------------------- + void BasicMigration::copyFiles() { @@ -158,16 +158,16 @@ namespace migration } } - // ----------------------------------------------------------------------------- + // XServiceInfo - // ----------------------------------------------------------------------------- + OUString BasicMigration::getImplementationName() throw (RuntimeException) { return BasicMigration_getImplementationName(); } - // ----------------------------------------------------------------------------- + sal_Bool BasicMigration::supportsService(OUString const & ServiceName) throw (css::uno::RuntimeException) @@ -175,16 +175,16 @@ namespace migration return cppu::supportsService(this, ServiceName); } - // ----------------------------------------------------------------------------- + Sequence< OUString > BasicMigration::getSupportedServiceNames() throw (RuntimeException) { return BasicMigration_getSupportedServiceNames(); } - // ----------------------------------------------------------------------------- + // XInitialization - // ----------------------------------------------------------------------------- + void BasicMigration::initialize( const Sequence< Any >& aArguments ) throw (Exception, RuntimeException) { @@ -208,9 +208,9 @@ namespace migration } } - // ----------------------------------------------------------------------------- + // XJob - // ----------------------------------------------------------------------------- + Any BasicMigration::execute( const Sequence< beans::NamedValue >& ) throw (lang::IllegalArgumentException, Exception, RuntimeException) @@ -233,7 +233,7 @@ namespace migration return static_cast< lang::XTypeProvider * >( new BasicMigration() ); } - // ----------------------------------------------------------------------------- + //......................................................................... } // namespace migration diff --git a/desktop/source/migration/services/jvmfwk.cxx b/desktop/source/migration/services/jvmfwk.cxx index 849bb8863e41..05f1cd523790 100644 --- a/desktop/source/migration/services/jvmfwk.cxx +++ b/desktop/source/migration/services/jvmfwk.cxx @@ -196,7 +196,7 @@ public: - //---------------- + ~JavaMigration(); private: @@ -340,7 +340,7 @@ void SAL_CALL JavaMigration::startLayer() throw(css::lang::WrappedTargetException) { } -// ----------------------------------------------------------------------------- + void SAL_CALL JavaMigration::endLayer() throw( @@ -348,7 +348,7 @@ void SAL_CALL JavaMigration::endLayer() WrappedTargetException ) { } -// ----------------------------------------------------------------------------- + void SAL_CALL JavaMigration::overrideNode( const OUString&, @@ -361,7 +361,7 @@ void SAL_CALL JavaMigration::overrideNode( { } -// ----------------------------------------------------------------------------- + void SAL_CALL JavaMigration::addOrReplaceNode( const OUString&, @@ -378,7 +378,7 @@ void SAL_CALL JavaMigration::endNode() WrappedTargetException ) { } -// ----------------------------------------------------------------------------- + void SAL_CALL JavaMigration::dropNode( const OUString& ) @@ -387,7 +387,7 @@ void SAL_CALL JavaMigration::dropNode( WrappedTargetException ) { } -// ----------------------------------------------------------------------------- + void SAL_CALL JavaMigration::overrideProperty( const OUString& aName, @@ -403,7 +403,7 @@ void SAL_CALL JavaMigration::overrideProperty( else if ( aName == "UserClassPath" ) m_aStack.push(TElementStack::value_type(aName, USER_CLASS_PATH)); } -// ----------------------------------------------------------------------------- + void SAL_CALL JavaMigration::setPropertyValue( const Any& aValue ) @@ -448,7 +448,7 @@ void SAL_CALL JavaMigration::setPropertyValue( } } } -// ----------------------------------------------------------------------------- + void SAL_CALL JavaMigration::setPropertyValueForLocale( const Any&, @@ -458,7 +458,7 @@ void SAL_CALL JavaMigration::setPropertyValueForLocale( WrappedTargetException ) { } -// ----------------------------------------------------------------------------- + void SAL_CALL JavaMigration::endProperty() throw( @@ -468,7 +468,7 @@ void SAL_CALL JavaMigration::endProperty() if (!m_aStack.empty()) m_aStack.pop(); } -// ----------------------------------------------------------------------------- + void SAL_CALL JavaMigration::addProperty( const OUString&, @@ -479,7 +479,7 @@ void SAL_CALL JavaMigration::addProperty( WrappedTargetException ) { } -// ----------------------------------------------------------------------------- + void SAL_CALL JavaMigration::addPropertyWithValue( const OUString&, @@ -501,7 +501,7 @@ void SAL_CALL JavaMigration::addOrReplaceNodeFromTemplate( { } -// ----------------------------------------------------------------------------- + //ToDo enable java, user class path } //end namespace jfw diff --git a/desktop/source/migration/services/oo3extensionmigration.cxx b/desktop/source/migration/services/oo3extensionmigration.cxx index 5d03d2258491..720054b5aef5 100644 --- a/desktop/source/migration/services/oo3extensionmigration.cxx +++ b/desktop/source/migration/services/oo3extensionmigration.cxx @@ -73,7 +73,7 @@ OUString OO3ExtensionMigration_getImplementationName() return *pImplName; } -// ----------------------------------------------------------------------------- + Sequence< OUString > OO3ExtensionMigration_getSupportedServiceNames() { @@ -100,7 +100,7 @@ m_ctx(ctx) { } -// ----------------------------------------------------------------------------- + OO3ExtensionMigration::~OO3ExtensionMigration() { @@ -322,16 +322,16 @@ void OO3ExtensionMigration::migrateExtension( const OUString& sSourceDir ) } -// ----------------------------------------------------------------------------- + // XServiceInfo -// ----------------------------------------------------------------------------- + OUString OO3ExtensionMigration::getImplementationName() throw (RuntimeException) { return OO3ExtensionMigration_getImplementationName(); } -// ----------------------------------------------------------------------------- + sal_Bool OO3ExtensionMigration::supportsService(OUString const & ServiceName) throw (css::uno::RuntimeException) @@ -339,16 +339,16 @@ sal_Bool OO3ExtensionMigration::supportsService(OUString const & ServiceName) return cppu::supportsService(this, ServiceName); } -// ----------------------------------------------------------------------------- + Sequence< OUString > OO3ExtensionMigration::getSupportedServiceNames() throw (RuntimeException) { return OO3ExtensionMigration_getSupportedServiceNames(); } -// ----------------------------------------------------------------------------- + // XInitialization -// ----------------------------------------------------------------------------- + void OO3ExtensionMigration::initialize( const Sequence< Any >& aArguments ) throw (Exception, RuntimeException) { @@ -408,9 +408,9 @@ Any OO3ExtensionMigration::execute( const Sequence< beans::NamedValue >& ) return Any(); } -// ----------------------------------------------------------------------------- + // TmpRepositoryCommandEnv -// ----------------------------------------------------------------------------- + TmpRepositoryCommandEnv::TmpRepositoryCommandEnv() { @@ -420,14 +420,14 @@ TmpRepositoryCommandEnv::~TmpRepositoryCommandEnv() { } // XCommandEnvironment -//______________________________________________________________________________ + uno::Reference< task::XInteractionHandler > TmpRepositoryCommandEnv::getInteractionHandler() throw ( uno::RuntimeException ) { return this; } -//______________________________________________________________________________ + uno::Reference< ucb::XProgressHandler > TmpRepositoryCommandEnv::getProgressHandler() throw ( uno::RuntimeException ) { @@ -491,7 +491,7 @@ Reference< XInterface > SAL_CALL OO3ExtensionMigration_create( ctx) ); } -// ----------------------------------------------------------------------------- + } // namespace migration diff --git a/desktop/source/migration/services/wordbookmigration.cxx b/desktop/source/migration/services/wordbookmigration.cxx index 1f4c05121f6b..38ccca46c2b0 100644 --- a/desktop/source/migration/services/wordbookmigration.cxx +++ b/desktop/source/migration/services/wordbookmigration.cxx @@ -56,7 +56,7 @@ namespace migration return *pImplName; } - // ----------------------------------------------------------------------------- + Sequence< OUString > WordbookMigration_getSupportedServiceNames() { @@ -82,13 +82,13 @@ namespace migration { } - // ----------------------------------------------------------------------------- + WordbookMigration::~WordbookMigration() { } - // ----------------------------------------------------------------------------- + TStringVectorPtr WordbookMigration::getFiles( const OUString& rBaseURL ) const { @@ -125,7 +125,7 @@ namespace migration return aResult; } - // ----------------------------------------------------------------------------- + ::osl::FileBase::RC WordbookMigration::checkAndCreateDirectory( INetURLObject& rDirURL ) { @@ -186,7 +186,7 @@ bool IsUserWordbook( const OUString& rFile ) } - // ----------------------------------------------------------------------------- + void WordbookMigration::copyFiles() { @@ -224,16 +224,16 @@ bool IsUserWordbook( const OUString& rFile ) } } - // ----------------------------------------------------------------------------- + // XServiceInfo - // ----------------------------------------------------------------------------- + OUString WordbookMigration::getImplementationName() throw (RuntimeException) { return WordbookMigration_getImplementationName(); } - // ----------------------------------------------------------------------------- + sal_Bool WordbookMigration::supportsService(OUString const & ServiceName) throw (css::uno::RuntimeException) @@ -241,16 +241,16 @@ bool IsUserWordbook( const OUString& rFile ) return cppu::supportsService(this, ServiceName); } - // ----------------------------------------------------------------------------- + Sequence< OUString > WordbookMigration::getSupportedServiceNames() throw (RuntimeException) { return WordbookMigration_getSupportedServiceNames(); } - // ----------------------------------------------------------------------------- + // XInitialization - // ----------------------------------------------------------------------------- + void WordbookMigration::initialize( const Sequence< Any >& aArguments ) throw (Exception, RuntimeException) { @@ -274,9 +274,9 @@ bool IsUserWordbook( const OUString& rFile ) } } - // ----------------------------------------------------------------------------- + // XJob - // ----------------------------------------------------------------------------- + Any WordbookMigration::execute( const Sequence< beans::NamedValue >& ) throw (lang::IllegalArgumentException, Exception, RuntimeException) @@ -299,7 +299,7 @@ bool IsUserWordbook( const OUString& rFile ) return static_cast< lang::XTypeProvider * >( new WordbookMigration() ); } - // ----------------------------------------------------------------------------- + //......................................................................... } // namespace migration |