diff options
author | Szymon Kłos <eszkadev@gmail.com> | 2015-05-29 13:07:59 +0200 |
---|---|---|
committer | Szymon Kłos <eszkadev@gmail.com> | 2015-07-16 09:52:41 +0200 |
commit | 1cf19ed4103fc1a700fc6c40e17fb7323c3f631d (patch) | |
tree | 72f10c6a19d4a53414a4c3b18c4c2c18f7deeacb /svtools | |
parent | bf69ca305be4ab814279e3a12c1dad230ae12f82 (diff) |
remember the binding URL when editing CMIS connection
Change-Id: I0ec7d84e7fd43cc8d67145b7ae99ae13b182bb26
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/dialogs/ServerDetailsControls.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/svtools/source/dialogs/ServerDetailsControls.cxx b/svtools/source/dialogs/ServerDetailsControls.cxx index c98fb40409f9..a98bba0f1fb5 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; |