summaryrefslogtreecommitdiffstats
path: root/include/comphelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-17 11:47:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-01-17 15:27:33 +0200
commit5830ef9a65d268ca7939d5489a75e3873bdc5d96 (patch)
tree529d4545de6f45a21423096b8cb2c9c17ecc2684 /include/comphelper
parentuse SolarMutexGuard (diff)
downloadcore-5830ef9a65d268ca7939d5489a75e3873bdc5d96.tar.gz
core-5830ef9a65d268ca7939d5489a75e3873bdc5d96.zip
use rtl::Reference in DocPasswordRequest and SimplePasswordRequest
Change-Id: If1bad2bc852712b8315e44480ee81f797736bb95
Diffstat (limited to 'include/comphelper')
-rw-r--r--include/comphelper/docpasswordrequest.hxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/include/comphelper/docpasswordrequest.hxx b/include/comphelper/docpasswordrequest.hxx
index f8b19b180218..f5657a4b4ad9 100644
--- a/include/comphelper/docpasswordrequest.hxx
+++ b/include/comphelper/docpasswordrequest.hxx
@@ -24,6 +24,7 @@
#include <com/sun/star/task/PasswordRequestMode.hpp>
#include <com/sun/star/task/XInteractionRequest.hpp>
#include <cppuhelper/implbase.hxx>
+#include <rtl/ref.hxx>
namespace comphelper {
@@ -56,9 +57,9 @@ private:
virtual css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > SAL_CALL getContinuations() throw( css::uno::RuntimeException, std::exception ) override;
private:
- css::uno::Any maRequest;
- css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > maContinuations;
- PasswordContinuation * mpPassword;
+ css::uno::Any maRequest;
+ rtl::Reference<AbortContinuation> mxAbort;
+ rtl::Reference<PasswordContinuation> mxPassword;
};
@@ -89,9 +90,9 @@ private:
virtual css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > SAL_CALL getContinuations() throw( css::uno::RuntimeException, std::exception ) override;
private:
- css::uno::Any maRequest;
- css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > maContinuations;
- PasswordContinuation * mpPassword;
+ css::uno::Any maRequest;
+ rtl::Reference<AbortContinuation> mxAbort;
+ rtl::Reference<PasswordContinuation> mxPassword;
};