summaryrefslogtreecommitdiff
path: root/unotools/source/ucbhelper/ucblockbytes.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-01-07 08:00:06 +0000
committerOliver Bolte <obo@openoffice.org>2008-01-07 08:00:06 +0000
commit82b53ee5372fbc02502f465f82070636fc5f1082 (patch)
tree0c79a9535c5c2d64630785cc0273934b0e3ae409 /unotools/source/ucbhelper/ucblockbytes.cxx
parentea2146da882fa6f558c1a53f0936aaabd350e34a (diff)
INTEGRATION: CWS supdremove (1.55.22); FILE MERGED
2007/11/16 10:25:06 vg 1.55.22.1: #i83674# cleanup: remove obsolete SUPD macro use
Diffstat (limited to 'unotools/source/ucbhelper/ucblockbytes.cxx')
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.cxx21
1 files changed, 2 insertions, 19 deletions
diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx
index 844a156c9073..83b0ba9f559a 100644
--- a/unotools/source/ucbhelper/ucblockbytes.cxx
+++ b/unotools/source/ucbhelper/ucblockbytes.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: ucblockbytes.cxx,v $
*
- * $Revision: 1.56 $
+ * $Revision: 1.57 $
*
- * last change: $Author: rt $ $Date: 2007-11-07 10:12:48 $
+ * last change: $Author: obo $ $Date: 2008-01-07 09:00:06 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1727,28 +1727,11 @@ UcbLockBytesRef UcbLockBytes::CreateLockBytes( const Reference < XContent >& xCo
xLockBytes->SetSynchronMode( !pHandler );
Reference< XActiveDataControl > xSink = (XActiveDataControl*) new UcbDataSink_Impl( xLockBytes );
-#if SUPD<640
- if ( rProps.getLength() )
- {
- Reference < XCommandProcessor > xProcessor( xContent, UNO_QUERY );
- Command aCommand;
- aCommand.Name = ::rtl::OUString::createFromAscii("setPropertyValues");
- aCommand.Handle = -1; /* unknown */
- aCommand.Argument <<= rProps;
- xProcessor->execute( aCommand, 0, Reference < XCommandEnvironment >() );
- }
-
- PostCommandArgument aArgument;
- aArgument.Source = xPostData;
- aArgument.Sink = xSink;
-
-#else
PostCommandArgument2 aArgument;
aArgument.Source = xPostData;
aArgument.Sink = xSink;
aArgument.MediaType = rMediaType;
aArgument.Referer = rReferer;
-#endif
Command aCommand;
aCommand.Name = ::rtl::OUString::createFromAscii ("post");