summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/CollectionView.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/dlg/CollectionView.cxx')
-rw-r--r--dbaccess/source/ui/dlg/CollectionView.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/dbaccess/source/ui/dlg/CollectionView.cxx b/dbaccess/source/ui/dlg/CollectionView.cxx
index c1156b446bf1..8838514e130d 100644
--- a/dbaccess/source/ui/dlg/CollectionView.cxx
+++ b/dbaccess/source/ui/dlg/CollectionView.cxx
@@ -116,7 +116,6 @@ IMPL_LINK_NOARG(OCollectionView, Save_Click, Button*, void)
return;
try
{
- OUString sSubFolder = m_pView->GetCurrentURL();
sal_Int32 nIndex = sName.lastIndexOf('/') + 1;
if ( nIndex )
{
@@ -136,7 +135,7 @@ IMPL_LINK_NOARG(OCollectionView, Save_Click, Button*, void)
m_pView->Initialize(m_xContent);
initCurrentPath();
}
- sSubFolder = sName.copy(0,nIndex-1);
+ OUString sSubFolder = sName.copy(0,nIndex-1);
sName = sName.copy(nIndex);
Reference<XHierarchicalNameContainer> xHier(m_xContent,UNO_QUERY);
OSL_ENSURE(xHier.is(),"XHierarchicalNameContainer not supported!");