summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2003-08-07 13:42:40 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2003-08-07 13:42:40 +0000
commit8a68b25ff23c5a5c0c219a7ec904ed9b67055049 (patch)
treeaf12b58a8f05d5c0bff9bba790659861ce83426c /ucb
parent8500c62236766b0ec2c9470b5fe6753c2526041d (diff)
INTEGRATION: CWS sb5 (1.73.24); FILE MERGED
2003/06/20 07:48:08 sb 1.73.24.1: #91676# InteractiveAugmentedIOException expects PropertyValues, not strings, as arguments.
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/file/shell.cxx14
1 files changed, 10 insertions, 4 deletions
diff --git a/ucb/source/ucp/file/shell.cxx b/ucb/source/ucp/file/shell.cxx
index 34db87519500..567e3dd5fa6a 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.73 $
+ * $Revision: 1.74 $
*
- * last change: $Author: hr $ $Date: 2003-03-27 17:26:43 $
+ * last change: $Author: hr $ $Date: 2003-08-07 14:42:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -990,7 +990,10 @@ shell::setv( sal_Int32 CommandId,
{
--propChanged; // unsuccessful setting
uno::Sequence< uno::Any > names( 1 );
- ret[0] <<= aUnqPath;
+ ret[0] <<= beans::PropertyValue(
+ rtl::OUString::createFromAscii("Uri"), -1,
+ uno::makeAny(aUnqPath),
+ beans::PropertyState_DIRECT_VALUE);
IOErrorCode ioError(IOErrorCode_GENERAL);
ret[i] <<= InteractiveAugmentedIOException(
rtl::OUString(),
@@ -1051,7 +1054,10 @@ shell::setv( sal_Int32 CommandId,
{
--propChanged; // unsuccessful setting
uno::Sequence< uno::Any > names( 1 );
- ret[0] <<= aUnqPath;
+ names[0] <<= beans::PropertyValue(
+ rtl::OUString::createFromAscii("Uri"), -1,
+ uno::makeAny(aUnqPath),
+ beans::PropertyState_DIRECT_VALUE);
IOErrorCode ioError;
switch( err )
{