summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorSzymon Kłos <eszkadev@gmail.com>2015-07-10 12:46:58 +0200
committerSzymon Kłos <eszkadev@gmail.com>2015-07-16 09:53:42 +0200
commite211999cdf2e54bf15670a89607622737e4acf44 (patch)
treeb2204266e4183b20fde04d7e94de94090fe9da2d /svtools
parentc7079800dd584ca1d3bd34a6e3fe6bb5402cb31e (diff)
PlaceEditDialog: Remember the repository id if wasn't changed
Change-Id: Ib5e63bec0b6b3c2d7d0dc2c114656737979ef6d0
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/dialogs/ServerDetailsControls.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/svtools/source/dialogs/ServerDetailsControls.cxx b/svtools/source/dialogs/ServerDetailsControls.cxx
index 3fc26c43927b..46b5b05a6b0f 100644
--- a/svtools/source/dialogs/ServerDetailsControls.cxx
+++ b/svtools/source/dialogs/ServerDetailsControls.cxx
@@ -329,12 +329,10 @@ bool CmisDetailsContainer::setUrl( const INetURLObject& rUrl )
if ( bSuccess )
{
- OUString sRepositoryId;
-
OUString sDecodedHost = rUrl.GetHost( INetURLObject::DECODE_WITH_CHARSET );
INetURLObject aHostUrl( sDecodedHost );
m_sBinding = aHostUrl.GetURLNoMark( );
- sRepositoryId = aHostUrl.GetMark( );
+ m_sRepoId = aHostUrl.GetMark( );
m_pEDBinding->SetText( m_sBinding );
m_pEDRoot->SetText( rUrl.GetURLPath() );