summaryrefslogtreecommitdiff
path: root/ucb/source
diff options
context:
space:
mode:
authorAndreas Bille <abi@openoffice.org>2001-12-18 12:09:32 +0000
committerAndreas Bille <abi@openoffice.org>2001-12-18 12:09:32 +0000
commite7e68082bc82d611e3e7316ca51037edd2fc9061 (patch)
treea6682ecbc4e90111fd35a513cafaf0af6e9ac39e /ucb/source
parentbaee9752168c00c3e6220e9815f54ff56f593c48 (diff)
#96040# Additional regression bug ( Don't return if target could not' be stated ).
Diffstat (limited to 'ucb/source')
-rw-r--r--ucb/source/ucp/file/shell.cxx26
1 files changed, 13 insertions, 13 deletions
diff --git a/ucb/source/ucp/file/shell.cxx b/ucb/source/ucp/file/shell.cxx
index 13a5c70e51c3..2089155eba4a 100644
--- a/ucb/source/ucp/file/shell.cxx
+++ b/ucb/source/ucp/file/shell.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: shell.cxx,v $
*
- * $Revision: 1.68 $
+ * $Revision: 1.69 $
*
- * last change: $Author: abi $ $Date: 2001-12-18 12:57:06 $
+ * last change: $Author: abi $ $Date: 2001-12-18 13:09:32 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1138,17 +1138,17 @@ shell::move( sal_Int32 CommandId,
osl::DirectoryItem::get(dstUnqPath,aItem);
aItem.getFileStatus(aStatus);
- if( aStatus.isValid(FileStatusMask_Type) && aStatus.isValid(FileStatusMask_LinkTargetURL) )
- {
- if( aStatus.getFileType() == osl::FileStatus::Link )
- targetPath = aStatus.getLinkTargetURL();
- }
- else
- {
- installError( CommandId,
- TASKHANDLING_OVERWRITE_FOR_MOVE );
- return;
- }
+ if( aStatus.isValid(FileStatusMask_Type) &&
+ aStatus.isValid(FileStatusMask_LinkTargetURL) &&
+ aStatus.getFileType() == osl::FileStatus::Link )
+ targetPath = aStatus.getLinkTargetURL();
+
+// else
+// {
+// installError( CommandId,
+// TASKHANDLING_OVERWRITE_FOR_MOVE );
+// return;
+// }
// Will do nothing if file does not exist.
osl::File::remove( targetPath );
// #endif