diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-12-07 09:52:52 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-12-07 09:52:52 +0000 |
commit | 562208f3eff3f3fd8d05ec1578ab72263d958cbc (patch) | |
tree | 39bdb7033d8293ce5259005795ce7914c53a0fcb /ucb | |
parent | 12121333ccc0b9efe8e55c7a5028d1359e8625bd (diff) |
INTEGRATION: CWS sb27 (1.7.8); FILE MERGED
2004/12/03 15:17:24 sb 1.7.8.1: #i38298# Use XJob.execute as a hack replacement for the expensive, recent implementation of fileaccess::XStream_impl::flush.
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/file/filstr.hxx | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/ucb/source/ucp/file/filstr.hxx b/ucb/source/ucp/file/filstr.hxx index 214673cba952..82ccede48c1e 100644 --- a/ucb/source/ucp/file/filstr.hxx +++ b/ucb/source/ucp/file/filstr.hxx @@ -2,9 +2,9 @@ * * $RCSfile: filstr.hxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: obo $ $Date: 2004-11-17 09:56:37 $ + * last change: $Author: rt $ $Date: 2004-12-07 10:52:52 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -103,7 +103,9 @@ #ifndef _COM_SUN_STAR_UCB_XCONTENTPROVIDER_HPP_ #include <com/sun/star/ucb/XContentProvider.hpp> #endif - +#ifndef _COM_SUN_STAR_TASK_XJOB_HPP_ //HACK see #i38298# +#include "com/sun/star/task/XJob.hpp" +#endif namespace fileaccess { @@ -120,7 +122,8 @@ namespace fileaccess { public com::sun::star::io::XSeekable, public com::sun::star::io::XInputStream, public com::sun::star::io::XOutputStream, - public com::sun::star::io::XTruncate + public com::sun::star::io::XTruncate, + public com::sun::star::task::XJob //HACK see #i38298# { friend class XInputStreamForStream; friend class XOutputStreamForStream; @@ -285,6 +288,14 @@ namespace fileaccess { com::sun::star::io::IOException, com::sun::star::uno::RuntimeException ); + //HACK see #i38298# + virtual com::sun::star::uno::Any SAL_CALL execute( + com::sun::star::uno::Sequence< com::sun::star::beans::NamedValue > + const &) + throw ( + com::sun::star::lang::IllegalArgumentException, + com::sun::star::uno::Exception, + com::sun::star::uno::RuntimeException); private: |