diff options
author | Kai Sommerfeld <kso@openoffice.org> | 2001-05-09 13:46:22 +0000 |
---|---|---|
committer | Kai Sommerfeld <kso@openoffice.org> | 2001-05-09 13:46:22 +0000 |
commit | 621a12dc74c7063e2f995300acc3404c3112479b (patch) | |
tree | 70cc167883de810e06bc945240b76259808ddedb /ucb/source/ucp | |
parent | 3b8bffac96d9bff110d3284011a7828da623e7bb (diff) |
Removed wrong aAny <<= getCppuVoidType() calls from
BaseContent::execute(...). An any containing no (void) value was intended,
not an any containing a com::sun::star::Type object. This is different!
Diffstat (limited to 'ucb/source/ucp')
-rw-r--r-- | ucb/source/ucp/file/bc.cxx | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/ucb/source/ucp/file/bc.cxx b/ucb/source/ucp/file/bc.cxx index e2f82939e369..3ff1091aa3fd 100644 --- a/ucb/source/ucp/file/bc.cxx +++ b/ucb/source/ucp/file/bc.cxx @@ -2,9 +2,9 @@ * * $RCSfile: bc.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: abi $ $Date: 2001-04-24 13:50:50 $ + * last change: $Author: kso $ $Date: 2001-05-09 14:46:22 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -393,7 +393,6 @@ BaseContent::execute( const Command& aCommand, throw CommandAbortedException(); setPropertyValues( CommandId,sPropertyValues ); - aAny <<= getCppuVoidType(); } else if( ! aCommand.Name.compareToAscii( "getPropertyValues" ) ) { @@ -432,13 +431,7 @@ BaseContent::execute( const Command& aCommand, uno::Reference< XDynamicResultSet > result = open( CommandId,aOpenArgument ); if( result.is() ) - { aAny <<= result; - } - else - { - aAny <<= getCppuVoidType(); - } } else if( ! aCommand.Name.compareToAscii( "delete" ) ) { @@ -447,16 +440,13 @@ BaseContent::execute( const Command& aCommand, throw CommandAbortedException(); deleteContent( CommandId, aDeleteArgument ); - aAny <<= getCppuVoidType(); } else if( ! aCommand.Name.compareToAscii( "transfer" ) ) { TransferInfo aTransferInfo; if( ! ( aCommand.Argument >>= aTransferInfo ) ) throw CommandAbortedException(); - transfer( CommandId, - aTransferInfo ); - aAny <<= getCppuVoidType(); + transfer( CommandId, aTransferInfo ); } else if( ! aCommand.Name.compareToAscii( "insert" ) ) { @@ -465,11 +455,9 @@ BaseContent::execute( const Command& aCommand, throw CommandAbortedException(); insert( CommandId,aInsertArgument ); - aAny <<= getCppuVoidType(); } else if( ! aCommand.Name.compareToAscii( "update" ) ) { - aAny <<= getCppuVoidType(); } else { |