summaryrefslogtreecommitdiff
path: root/fileaccess
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2004-06-11 10:56:55 +0000
committerKurt Zenker <kz@openoffice.org>2004-06-11 10:56:55 +0000
commit143c76ebb651d2bc33267667008ec36c0c578b7d (patch)
tree21e68b50e39cd6d7fbea08d94d8aafd289154984 /fileaccess
parent966972252ee9947f10f5e7aae8153af3dd92f71d (diff)
INTEGRATION: CWS unopkg2 (1.19.50); FILE MERGED
2004/04/22 16:19:54 kso 1.19.50.1: #116171# Fixed success exit condition in OFileAccess::createFolder()
Diffstat (limited to 'fileaccess')
-rw-r--r--fileaccess/source/FileAccess.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/fileaccess/source/FileAccess.cxx b/fileaccess/source/FileAccess.cxx
index 88011dfbad..c1bee6ee5c 100644
--- a/fileaccess/source/FileAccess.cxx
+++ b/fileaccess/source/FileAccess.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: FileAccess.cxx,v $
*
- * $Revision: 1.20 $
+ * $Revision: 1.21 $
*
- * last change: $Author: obo $ $Date: 2004-05-28 15:19:28 $
+ * last change: $Author: kz $ $Date: 2004-06-11 11:56:55 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -437,6 +437,9 @@ void OFileAccess::createFolder( const rtl::OUString& NewFolderURL )
{
if ( !aCnt.insertNewContent( rCurr.Type, aNames, aValues, aNew ) )
continue;
+
+ // Success. We're done.
+ return;
}
catch ( ::com::sun::star::ucb::CommandFailedException const & )
{