[Libreoffice-commits] core.git: include/comphelper

Michael Stahl mstahl at redhat.com
Tue Jan 17 18:12:26 UTC 2017


 include/comphelper/docpasswordrequest.hxx |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 3674aedb6e0832705004a713965c0caca55ef71a
Author: Michael Stahl <mstahl at redhat.com>
Date:   Tue Jan 17 19:06:30 2017 +0100

    comphelper: try to fix MSVC build
    
    error C2027: use of undefined type ´comphelper::PasswordContinuation´
    
    Change-Id: Iff5cfd1a81abc6adfbf1d3aedfb4f871b96d3504

diff --git a/include/comphelper/docpasswordrequest.hxx b/include/comphelper/docpasswordrequest.hxx
index 7891a14..708d11c 100644
--- a/include/comphelper/docpasswordrequest.hxx
+++ b/include/comphelper/docpasswordrequest.hxx
@@ -52,6 +52,9 @@ public:
     OUString     getPassword() const;
 
 private:
+    SimplePasswordRequest(SimplePasswordRequest const&) = delete;
+    SimplePasswordRequest& operator=(SimplePasswordRequest const&) = delete;
+
     // XInteractionRequest
     virtual css::uno::Any SAL_CALL getRequest() throw( css::uno::RuntimeException, std::exception ) override;
     virtual css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > SAL_CALL getContinuations() throw( css::uno::RuntimeException, std::exception ) override;
@@ -85,6 +88,9 @@ public:
     bool            getRecommendReadOnly() const;
 
 private:
+    DocPasswordRequest(DocPasswordRequest const&) = delete;
+    DocPasswordRequest& operator=(DocPasswordRequest const&) = delete;
+
     // XInteractionRequest
     virtual css::uno::Any SAL_CALL getRequest() throw( css::uno::RuntimeException, std::exception ) override;
     virtual css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > SAL_CALL getContinuations() throw( css::uno::RuntimeException, std::exception ) override;


More information about the Libreoffice-commits mailing list