diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-09-11 19:09:24 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-09-11 19:09:24 +0200 |
commit | 8963c350986fc57cb0cf98387d7bd1c7bf6420a1 (patch) | |
tree | 6fc8a0b83e9406bfaac91a0026466a94d28e8624 /svl | |
parent | fdo#46808, Adapt task::PasswordContainer UNO service to new style (diff) | |
download | core-8963c350986fc57cb0cf98387d7bd1c7bf6420a1.tar.gz core-8963c350986fc57cb0cf98387d7bd1c7bf6420a1.zip |
Improvement on previous commit
Change-Id: I10984b6ac4128ad46f512dade0f4e0084d0b9348
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/inc/passwordcontainer.hxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/svl/source/inc/passwordcontainer.hxx b/svl/source/inc/passwordcontainer.hxx index 43b8d780993f..6b69b3ce2c3b 100644 --- a/svl/source/inc/passwordcontainer.hxx +++ b/svl/source/inc/passwordcontainer.hxx @@ -22,15 +22,13 @@ #include <list> #include <vector> #include <map> -#include <com/sun/star/task/XPasswordContainer.hpp> -#include <com/sun/star/task/XUrlContainer.hpp> +#include <com/sun/star/task/XPasswordContainer2.hpp> #include <com/sun/star/task/PasswordRequestMode.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/lang/XEventListener.hpp> #include <com/sun/star/lang/XComponent.hpp> -#include <com/sun/star/task/XMasterPasswordHandling2.hpp> -#include <cppuhelper/implbase5.hxx> +#include <cppuhelper/implbase3.hxx> #include <cppuhelper/typeprovider.hxx> #include <cppuhelper/queryinterface.hxx> #include <cppuhelper/factory.hxx> @@ -233,10 +231,8 @@ enum PasswordState { cancelled }; -class PasswordContainer : public ::cppu::WeakImplHelper5< - ::com::sun::star::task::XPasswordContainer, - ::com::sun::star::task::XMasterPasswordHandling2, - ::com::sun::star::task::XUrlContainer, +class PasswordContainer : public ::cppu::WeakImplHelper3< + ::com::sun::star::task::XPasswordContainer2, ::com::sun::star::lang::XServiceInfo, ::com::sun::star::lang::XEventListener > { |