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 /extensions/source/config | |
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 'extensions/source/config')
-rw-r--r-- | extensions/source/config/ldap/componentdef.cxx | 6 | ||||
-rw-r--r-- | extensions/source/config/ldap/ldapaccess.cxx | 22 | ||||
-rw-r--r-- | extensions/source/config/ldap/ldapuserprofilebe.cxx | 18 |
3 files changed, 23 insertions, 23 deletions
diff --git a/extensions/source/config/ldap/componentdef.cxx b/extensions/source/config/ldap/componentdef.cxx index 32dcbd05ead3..d8a27496090c 100644 --- a/extensions/source/config/ldap/componentdef.cxx +++ b/extensions/source/config/ldap/componentdef.cxx @@ -29,7 +29,7 @@ static uno::Reference<uno::XInterface> SAL_CALL createLdapUserProfileBe( const uno::Reference<uno::XComponentContext>& aContext) { return * new LdapUserProfileBe(aContext) ; } -//------------------------------------------------------------------------------ + static const cppu::ImplementationEntry kImplementations_entries[] = { @@ -43,7 +43,7 @@ static const cppu::ImplementationEntry kImplementations_entries[] = }, { NULL, NULL, NULL, NULL, NULL, 0 } } ; -//------------------------------------------------------------------------------ + extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL ldapbe2_component_getFactory(const sal_Char *aImplementationName, void *aServiceManager, @@ -53,6 +53,6 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL ldapbe2_component_getFactory(con aRegistryKey, kImplementations_entries) ; } -//------------------------------------------------------------------------------ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/extensions/source/config/ldap/ldapaccess.cxx b/extensions/source/config/ldap/ldapaccess.cxx index 4b634acb41d1..984bdc88e956 100644 --- a/extensions/source/config/ldap/ldapaccess.cxx +++ b/extensions/source/config/ldap/ldapaccess.cxx @@ -26,9 +26,9 @@ namespace extensions { namespace config { namespace ldap { -//------------------------------------------------------------------------------ + typedef int LdapErrCode; -//------------------------------------------------------------------------------ + struct LdapMessageHolder { LdapMessageHolder() : msg(0) {} @@ -44,12 +44,12 @@ private: LdapMessageHolder(LdapMessageHolder const&); void operator=(LdapMessageHolder const&); }; -//------------------------------------------------------------------------------ + LdapConnection::~LdapConnection() { if (isValid()) disconnect(); } -//------------------------------------------------------------------------------ + void LdapConnection::disconnect() { @@ -59,7 +59,7 @@ void LdapConnection::disconnect() mConnection = NULL; } } -//------------------------------------------------------------------------------ + static void checkLdapReturnCode(const sal_Char *aOperation, LdapErrCode aRetCode, @@ -95,7 +95,7 @@ static void checkLdapReturnCode(const sal_Char *aOperation, throw ldap::LdapGenericException(message.makeStringAndClear(), NULL, aRetCode) ; } -//------------------------------------------------------------------------------ + void LdapConnection::connectSimple(const LdapDefinition& aDefinition) throw (ldap::LdapConnectionException, ldap::LdapGenericException) { @@ -105,7 +105,7 @@ void LdapConnection::connectSimple(const LdapDefinition& aDefinition) mLdapDefinition = aDefinition; connectSimple(); } -//------------------------------------------------------------------------------ + void LdapConnection::connectSimple() throw (ldap::LdapConnectionException, ldap::LdapGenericException) { @@ -147,7 +147,7 @@ void LdapConnection::connectSimple() checkLdapReturnCode("SimpleBind", retCode, mConnection) ; } } -//------------------------------------------------------------------------------ + void LdapConnection::initConnection() throw (ldap::LdapConnectionException) { @@ -180,7 +180,7 @@ void LdapConnection::initConnection() NULL) ; } } -//------------------------------------------------------------------------------ + void LdapConnection::getUserProfile( const OUString& aUser, LdapData * data) throw (lang::IllegalArgumentException, @@ -239,7 +239,7 @@ void LdapConnection::initConnection() #endif } } -//------------------------------------------------------------------------------ + OUString LdapConnection::findUserDn(const OUString& aUser) throw (lang::IllegalArgumentException, ldap::LdapConnectionException, ldap::LdapGenericException) @@ -300,7 +300,7 @@ void LdapConnection::initConnection() return userDn ; } -//------------------------------------------------------------------------------ + } } } // extensions.config.ldap diff --git a/extensions/source/config/ldap/ldapuserprofilebe.cxx b/extensions/source/config/ldap/ldapuserprofilebe.cxx index e6d4eb8616a7..817110246157 100644 --- a/extensions/source/config/ldap/ldapuserprofilebe.cxx +++ b/extensions/source/config/ldap/ldapuserprofilebe.cxx @@ -80,11 +80,11 @@ LdapUserProfileBe::LdapUserProfileBe( const uno::Reference<uno::XComponentContex connection.connectSimple(aDefinition); connection.getUserProfile(loggedOnUser, &data_); } -//------------------------------------------------------------------------------ + LdapUserProfileBe::~LdapUserProfileBe() { } -//------------------------------------------------------------------------------ + bool LdapUserProfileBe::readLdapConfiguration( css::uno::Reference< css::uno::XComponentContext > const & context, @@ -159,7 +159,7 @@ bool LdapUserProfileBe::readLdapConfiguration( return true; } -//------------------------------------------------------------------------------ + bool LdapUserProfileBe::getLdapStringParam( uno::Reference<container::XNameAccess>& xAccess, const OUString& aLdapSetting, @@ -169,7 +169,7 @@ bool LdapUserProfileBe::getLdapStringParam( return !aServerParameter.isEmpty(); } -//------------------------------------------------------------------------------ + void LdapUserProfileBe::setPropertyValue( OUString const &, css::uno::Any const &) throw ( @@ -211,18 +211,18 @@ css::uno::Any LdapUserProfileBe::getPropertyValue( return css::uno::makeAny(css::beans::Optional< css::uno::Any >()); } -//------------------------------------------------------------------------------ + OUString SAL_CALL LdapUserProfileBe::getLdapUserProfileBeName(void) { return OUString("com.sun.star.comp.configuration.backend.LdapUserProfileBe"); } -//------------------------------------------------------------------------------ + OUString SAL_CALL LdapUserProfileBe::getImplementationName(void) throw (uno::RuntimeException) { return getLdapUserProfileBeName() ; } -//------------------------------------------------------------------------------ + uno::Sequence<OUString> SAL_CALL LdapUserProfileBe::getLdapUserProfileBeServiceNames(void) { @@ -243,8 +243,8 @@ SAL_CALL LdapUserProfileBe::getSupportedServiceNames(void) { return getLdapUserProfileBeServiceNames() ; } -// --------------------------------------------------------------------------------------- + }}} -// --------------------------------------------------------------------------------------- + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |