diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-18 13:24:49 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-19 06:40:56 +0000 |
commit | 239cba2b06bc7894270aa68e381cc06a9d52773c (patch) | |
tree | 94bc3fc67219148f5b8d01b95fd7043fb75ae01d /include | |
parent | 581e4da5847733a0e87d5ff9cd1c9f2b9fa471fe (diff) |
loplugin:unusedmethods in ucb/ucbhelper
Change-Id: I2935904e2cbecec6c928f4cbc88979bc2d1a40f8
Reviewed-on: https://gerrit.libreoffice.org/25090
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/ucbhelper/interactionrequest.hxx | 48 | ||||
-rw-r--r-- | include/ucbhelper/interceptedinteraction.hxx | 42 | ||||
-rw-r--r-- | include/ucbhelper/registerucb.hxx | 6 |
3 files changed, 0 insertions, 96 deletions
diff --git a/include/ucbhelper/interactionrequest.hxx b/include/ucbhelper/interactionrequest.hxx index c3dbf8fc9035..8aef29ed083a 100644 --- a/include/ucbhelper/interactionrequest.hxx +++ b/include/ucbhelper/interactionrequest.hxx @@ -353,27 +353,6 @@ public: /** * Constructor. * - * @param rxRequest is the interaction request that owns this continuation. - * @param bCanSetRealm indicates, whether the realm given with the - * authentication request is read-only. - * @param bCanSetUserName indicates, whether the username given with the - * authentication request is read-only. - * @param bCanSetPassword indicates, whether the password given with the - * authentication request is read-only. - * @param bCanSetAccount indicates, whether the account given with the - * authentication request is read-only. - * - * @see css::ucb::AuthenticationRequest - */ - inline InteractionSupplyAuthentication( - InteractionRequest * pRequest, - bool bCanSetRealm, - bool bCanSetUserName, - bool bCanSetPassword, - bool bCanSetAccount); - /** - * Constructor. - * * Note: The remember-authentication stuff is interesting only for * clients implementing own password storage functionality. * @@ -527,33 +506,6 @@ public: }; -inline InteractionSupplyAuthentication::InteractionSupplyAuthentication( - InteractionRequest * pRequest, - bool bCanSetRealm, - bool bCanSetUserName, - bool bCanSetPassword, - bool bCanSetAccount ) -: InteractionContinuation( pRequest ), - m_aRememberPasswordModes( css::uno::Sequence< css::ucb::RememberAuthentication >( 1 ) ), - m_aRememberAccountModes( css::uno::Sequence< css::ucb::RememberAuthentication >( 1 ) ), - m_eRememberPasswordMode( css::ucb::RememberAuthentication_NO ), - m_eDefaultRememberPasswordMode( css::ucb::RememberAuthentication_NO ), - m_eRememberAccountMode( css::ucb::RememberAuthentication_NO ), - m_eDefaultRememberAccountMode( css::ucb::RememberAuthentication_NO ), - m_bCanSetRealm( bCanSetRealm ), - m_bCanSetUserName( bCanSetUserName ), - m_bCanSetPassword( bCanSetPassword ), - m_bCanSetAccount( bCanSetAccount ), - m_bCanUseSystemCredentials( false ), - m_bDefaultUseSystemCredentials( false ), - m_bUseSystemCredentials( false ) -{ - m_aRememberPasswordModes[ 0 ] - = css::ucb::RememberAuthentication_NO; - m_aRememberAccountModes [ 0 ] - = css::ucb::RememberAuthentication_NO; -} - inline InteractionSupplyAuthentication::InteractionSupplyAuthentication( InteractionRequest * pRequest, diff --git a/include/ucbhelper/interceptedinteraction.hxx b/include/ucbhelper/interceptedinteraction.hxx index 26e1a9ad4c51..50dae3304b45 100644 --- a/include/ucbhelper/interceptedinteraction.hxx +++ b/include/ucbhelper/interceptedinteraction.hxx @@ -102,35 +102,6 @@ class UCBHELPER_DLLPUBLIC InterceptedInteraction : public ::cppu::WeakImplHelper Handle = INVALID_HANDLE; } - - /** @short initialize this instance. - - @param nHandle - used to identify every intercepted request - - @param aRequest - must contain an exception object, which can be checked - in its uno-type against the later handled interaction. - - @param aContinuation - must contain a continuation object, which is used - in its uno-type to locate the same continuation - inside the list of possible ones. - - @param bMatchExact - influence the type check of the interception request. - Its not used to check the continuation! - */ - InterceptedRequest( sal_Int32 nHandle , - const css::uno::Any& aRequest , - const css::uno::Type& aContinuation, - bool bMatchExact ) - { - Handle = nHandle; - Request = aRequest; - Continuation = aContinuation; - MatchExact = bMatchExact; - } }; @@ -180,19 +151,6 @@ class UCBHELPER_DLLPUBLIC InterceptedInteraction : public ::cppu::WeakImplHelper InterceptedInteraction(); - /** @short initialize a new instance with real values. - - @param xInterceptedHandler - the outside interaction handler, which should - be intercepted here. - - @param lInterceptions - the list of intercepted requests. - */ - InterceptedInteraction(const css::uno::Reference< css::task::XInteractionHandler >& xInterceptedHandler, - const ::std::vector< InterceptedRequest >& lInterceptions ); - - /** @short initialize a new instance with the interaction handler, which should be intercepted. diff --git a/include/ucbhelper/registerucb.hxx b/include/ucbhelper/registerucb.hxx index 60ab221b39f6..0b60481d9b8e 100644 --- a/include/ucbhelper/registerucb.hxx +++ b/include/ucbhelper/registerucb.hxx @@ -56,12 +56,6 @@ struct ContentProviderData /** The arguments to use to instanciate the content provider. */ OUString Arguments; - - ContentProviderData() {}; - ContentProviderData( const OUString & rService, - const OUString & rTemplate, - const OUString & rArgs ) - : ServiceName( rService ), URLTemplate( rTemplate ), Arguments( rArgs ) {} }; typedef std::vector< ContentProviderData > ContentProviderDataList; |