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
commitca348d34afd5a20f47a689854bb196a3aed5930a (patch)
tree3b3d486e1d8f1f9287018fbacd13fd9163025b48 /fileaccess
parent93c8366f0a6a007f2a5ebd257eddd712f6a07d77 (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 ea756482d3d7..21f69d96c57a 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 & )
{