[Libreoffice-commits] core.git: Branch 'feature/gsoc15-open-remote-files-dialog' - svtools/source

Szymon Kłos eszkadev at gmail.com
Fri May 29 04:26:37 PDT 2015


 svtools/source/dialogs/ServerDetailsControls.cxx |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 4d1f6231259abb44743c8550f6838538c47f53ac
Author: Szymon Kłos <eszkadev at gmail.com>
Date:   Fri May 29 13:07:59 2015 +0200

    remember the binding URL when editing CMIS connection
    
    Change-Id: I0ec7d84e7fd43cc8d67145b7ae99ae13b182bb26

diff --git a/svtools/source/dialogs/ServerDetailsControls.cxx b/svtools/source/dialogs/ServerDetailsControls.cxx
index c98fb40..a98bba0 100644
--- a/svtools/source/dialogs/ServerDetailsControls.cxx
+++ b/svtools/source/dialogs/ServerDetailsControls.cxx
@@ -308,15 +308,14 @@ bool CmisDetailsContainer::setUrl( const INetURLObject& rUrl )
 
     if ( bSuccess )
     {
-        OUString sBindingUrl;
         OUString sRepositoryId;
 
         OUString sDecodedHost = rUrl.GetHost( INetURLObject::DECODE_WITH_CHARSET );
         INetURLObject aHostUrl( sDecodedHost );
-        sBindingUrl = aHostUrl.GetURLNoMark( );
+        m_sBinding = aHostUrl.GetURLNoMark( );
         sRepositoryId = aHostUrl.GetMark( );
 
-        m_pEDBinding->SetText( sBindingUrl );
+        m_pEDBinding->SetText( m_sBinding );
         m_pEDPath->SetText( rUrl.GetURLPath() );
     }
     return bSuccess;


More information about the Libreoffice-commits mailing list