summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-02-03 16:52:53 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-02-03 16:52:53 +0000
commita44bed779ea78bfd6073640652971c140c1e03db (patch)
treed456047e615d66f635154b18c2ebfaa224c46cb9 /package
parent2da9af7c5ededdbc0477306c6de2468d8c28642b (diff)
INTEGRATION: CWS readstorage (1.2.12); FILE MERGED
2004/01/09 09:04:45 mav 1.2.12.1: #114521# cloning of storage's subelements
Diffstat (limited to 'package')
-rw-r--r--package/qa/storages/Test05.java2
-rw-r--r--package/qa/storages/Test07.java2
-rw-r--r--package/qa/storages/Test08.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/package/qa/storages/Test05.java b/package/qa/storages/Test05.java
index a17a3f6e6725..1240da2b806d 100644
--- a/package/qa/storages/Test05.java
+++ b/package/qa/storages/Test05.java
@@ -125,7 +125,7 @@ public class Test05 implements StorageTest {
// reopen created streams
XStream xSubStream1 = m_aTestHelper.OpenStream( xSubSubStorage,
"SubStream1",
- ElementModes.ELEMENT_READWRITE | ElementModes.ELEMENT_NOCREATE );
+ ElementModes.ELEMENT_WRITE | ElementModes.ELEMENT_NOCREATE );
XStream xSubStream2 = m_aTestHelper.OpenStream( xSubSubStorage,
"SubStream2",
ElementModes.ELEMENT_READ | ElementModes.ELEMENT_NOCREATE );
diff --git a/package/qa/storages/Test07.java b/package/qa/storages/Test07.java
index 396930443f10..8eafcc93e907 100644
--- a/package/qa/storages/Test07.java
+++ b/package/qa/storages/Test07.java
@@ -89,7 +89,7 @@ public class Test07 implements StorageTest {
// ================================================
// the temporary file must not be locked any more after storage disposing
- pArgs[1] = new Integer( ElementModes.ELEMENT_READWRITE );
+ pArgs[1] = new Integer( ElementModes.ELEMENT_WRITE );
Object oResultStorage = m_xStorageFactory.createInstanceWithArguments( pArgs );
XStorage xResultStorage = (XStorage) UnoRuntime.queryInterface( XStorage.class, oResultStorage );
if ( xResultStorage == null )
diff --git a/package/qa/storages/Test08.java b/package/qa/storages/Test08.java
index 246db6e3048a..bc7993a6d9c1 100644
--- a/package/qa/storages/Test08.java
+++ b/package/qa/storages/Test08.java
@@ -99,7 +99,7 @@ public class Test08 implements StorageTest {
if ( !m_aTestHelper.setStorageTypeAndCheckProps( xTempStorage,
"MediaType4",
true,
- ElementModes.ELEMENT_READWRITE ) )
+ ElementModes.ELEMENT_WRITE ) )
return false;
// set "MediaType" property for storages and check that "IsRoot" and "OpenMode" properties are set correctly