diff options
author | jp <jp@openoffice.org> | 2001-01-30 12:23:14 +0000 |
---|---|---|
committer | jp <jp@openoffice.org> | 2001-01-30 12:23:14 +0000 |
commit | 80f34e1be667659e1e69eba59978128e605778e6 (patch) | |
tree | c29d80e9ae0265c25e51a66d9f28b7333149ee4f | |
parent | 09c143b1c20d4a4e54d2ddff1983c9d9cb7de432 (diff) |
new: SetINetImage
-rw-r--r-- | svtools/source/misc/transfer.cxx | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/svtools/source/misc/transfer.cxx b/svtools/source/misc/transfer.cxx index b321c9f20838..1fc24aaa6a06 100644 --- a/svtools/source/misc/transfer.cxx +++ b/svtools/source/misc/transfer.cxx @@ -2,9 +2,9 @@ * * $RCSfile: transfer.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: ka $ $Date: 2001-01-22 17:08:17 $ + * last change: $Author: jp $ $Date: 2001-01-30 13:23:14 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -93,6 +93,7 @@ #include "urlbmk.hxx" #include "imap.hxx" #include "transfer.hxx" +#include "inetimg.hxx" // -------------- // - Namespaces - @@ -485,6 +486,16 @@ sal_Bool TransferableHelper::SetINetBookmark( const INetBookmark& rBmk, // ----------------------------------------------------------------------------- +sal_Bool TransferableHelper::SetINetImage( const INetImage& rINtImg, + const ::com::sun::star::datatransfer::DataFlavor& rFlavor ) +{ + maAny <<= ::rtl::OUString( rINtImg.CopyExchange() ); + + return( maAny.hasValue() ); +} + +// ----------------------------------------------------------------------------- + sal_Bool TransferableHelper::SetObject( void* pUserObject, sal_uInt32 nUserObjectId, const DataFlavor& rFlavor ) { SotStorageStreamRef xStm( new SotStorageStream( String() ) ); |