[Libreoffice-commits] core.git: Branch 'feature/gsoc14-libcmis' - ucbhelper/source

Mihai Varga mihai.mv13 at gmail.com
Sat Jun 28 02:35:39 PDT 2014


 ucbhelper/source/provider/authenticationfallback.cxx |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

New commits:
commit e195b81b4a183a1c2ebbbc39d56a08009438f75e
Author: Mihai Varga <mihai.mv13 at gmail.com>
Date:   Sat Jun 28 12:34:18 2014 +0300

    the request implementation
    
    Change-Id: I282db572f4337adb557a8a86f3e29546a6f690af

diff --git a/ucbhelper/source/provider/authenticationfallback.cxx b/ucbhelper/source/provider/authenticationfallback.cxx
index 6692ac8..8171cc2 100644
--- a/ucbhelper/source/provider/authenticationfallback.cxx
+++ b/ucbhelper/source/provider/authenticationfallback.cxx
@@ -17,6 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <com/sun/star/ucb/AuthenticationFallbackRequest.hpp>
 #include <ucbhelper/authenticationfallback.hxx>
 
 using namespace com::sun::star;
@@ -27,8 +28,12 @@ AuthenticationFallbackRequest::AuthenticationFallbackRequest(
                                       const OUString & rURL )
 {
 
-    m_Instructions = rInstructions;
-    m_Url = rURL;
+    ucb::AuthenticationFallbackRequest aRequest;
+    aRequest.instructions = rInstructions;
+    aRequest.url = rURL;
+
+    setRequest( uno::makeAny( aRequest ) );
+
     uno::Sequence<
         uno::Reference< task::XInteractionContinuation > > aContinuations( 3 );
     aContinuations[ 0 ] = new InteractionAbort( this );


More information about the Libreoffice-commits mailing list