summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorKai Sommerfeld <kso@openoffice.org>2000-12-06 08:32:47 +0000
committerKai Sommerfeld <kso@openoffice.org>2000-12-06 08:32:47 +0000
commitf66bcdc819a8109b22ea31927d163ef97e5b3a77 (patch)
tree7b9ca04f59e2ebcb24f6207318a48dcd6f21fd24 /ucb
parentd550f18243d39b6ef1d21ceda60061096a7fed69 (diff)
#78812# - Removed obsolete restriction from HierarchyEntry::move(...).
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/hierarchy/hierarchydata.cxx13
1 files changed, 3 insertions, 10 deletions
diff --git a/ucb/source/ucp/hierarchy/hierarchydata.cxx b/ucb/source/ucp/hierarchy/hierarchydata.cxx
index d4278d7f5fee..fc0b45ce26aa 100644
--- a/ucb/source/ucp/hierarchy/hierarchydata.cxx
+++ b/ucb/source/ucp/hierarchy/hierarchydata.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: hierarchydata.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: kso $ $Date: 2000-12-05 16:37:16 $
+ * last change: $Author: kso $ $Date: 2000-12-06 09:32:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -472,7 +472,7 @@ sal_Bool HierarchyEntry::setData(
}
catch ( IllegalArgumentException& )
{
- // escapeString, replaceByName, insertByName
+ // replaceByName, insertByName
VOS_ENSURE( sal_False,
"HierarchyEntry::setData - caught IllegalArgumentException!" );
@@ -519,13 +519,6 @@ sal_Bool HierarchyEntry::move( const OUString& rNewURL )
if ( aNewPath == m_aPath )
return sal_True;
- if ( aNewPath.compareTo( m_aPath, aNewPath.lastIndexOf( '/' ) + 1 ) != 0 )
- {
- VOS_ENSURE( sal_False,
- "HierarchyEntry::move - Only rename implemented!" );
- return sal_False;
- }
-
#if 0
// In the "near future"... ( not yet implemented in config db )