summaryrefslogtreecommitdiffstats
path: root/fpicker
diff options
context:
space:
mode:
authorSzymon Kłos <eszkadev@gmail.com>2015-08-03 14:59:58 +0200
committerSzymon Kłos <eszkadev@gmail.com>2015-08-14 08:45:28 +0200
commit3734363bfa3f912be0bde9bfc3c7080c5279ac21 (patch)
treea616294485ff8ffa4fbf3b1307f197d5470a78f2 /fpicker
parentFolderTree width 100 -> 150 (diff)
downloadcore-3734363bfa3f912be0bde9bfc3c7080c5279ac21.tar.gz
core-3734363bfa3f912be0bde9bfc3c7080c5279ac21.zip
FolderTree: changed root node name ('Root')
Change-Id: I495965e065366880b364578a02af7092d6efbad4
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/RemoteFilesDialog.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx
index 0e26283ed1b2..5233a626cc37 100644
--- a/fpicker/source/office/RemoteFilesDialog.cxx
+++ b/fpicker/source/office/RemoteFilesDialog.cxx
@@ -1099,12 +1099,11 @@ void RemoteFilesDialog::UpdateControls( const OUString& rURL )
if( nPos >= 0 && m_bServiceChanged && rURL == m_aServices[nPos]->GetUrl() )
{
OUString sURL = m_aServices[nPos]->GetUrl();
- OUString sName = m_aServices[nPos]->GetName();
m_pPath->SetRootName( m_sRootLabel );
m_pTreeView->Clear();
- SvTreeListEntry* pRoot = m_pTreeView->InsertEntry( sName, NULL, true );
+ SvTreeListEntry* pRoot = m_pTreeView->InsertEntry( m_sRootLabel, NULL, true );
OUString* sData = new OUString( rURL );
pRoot->SetUserData( static_cast< void* >( sData ) );