diff options
author | Eike Rathke <erack@redhat.com> | 2017-11-10 23:18:52 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-11-11 01:18:47 +0100 |
commit | 38f4d4ca02cdc2fd4656e3a72def94da1df89650 (patch) | |
tree | b142aceae633b3ff8f8d92f69f6b33ddb38f2e32 /svtools | |
parent | 12434a33c1c153c375d2e02e0ae26f471ff15b68 (diff) |
A user object id is *NOT* a SotClipboardFormatId
Do not try to squeeze it into such.. especially if
SotClipboardFormatId::... enum identifiers are used in a user
object id context that is completely not related to the identifier
name this is totally confusing.
commit fb14be5f8f74f83ba89e15f891ddf1f753dcc62f
Date: Thu Mar 12 14:53:28 2015 +0200
create new 'enum class' SotClipboardFormatId to unify types
overdid with that.
Change-Id: I34b570be9f52b7b94ca8af6b23983393ac3a3a55
Reviewed-on: https://gerrit.libreoffice.org/44612
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/misc/transfer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/misc/transfer.cxx b/svtools/source/misc/transfer.cxx index 17c7983401dc..899263af6e7a 100644 --- a/svtools/source/misc/transfer.cxx +++ b/svtools/source/misc/transfer.cxx @@ -851,7 +851,7 @@ bool TransferableHelper::SetINetImage( const INetImage& rINtImg, } -bool TransferableHelper::SetObject( void* pUserObject, SotClipboardFormatId nUserObjectId, const DataFlavor& rFlavor ) +bool TransferableHelper::SetObject( void* pUserObject, sal_uInt32 nUserObjectId, const DataFlavor& rFlavor ) { tools::SvRef<SotStorageStream> xStm( new SotStorageStream( OUString() ) ); @@ -881,7 +881,7 @@ bool TransferableHelper::SetObject( void* pUserObject, SotClipboardFormatId nUse } -bool TransferableHelper::WriteObject( tools::SvRef<SotStorageStream>&, void*, SotClipboardFormatId, const DataFlavor& ) +bool TransferableHelper::WriteObject( tools::SvRef<SotStorageStream>&, void*, sal_uInt32, const DataFlavor& ) { OSL_FAIL( "TransferableHelper::WriteObject( ... ) not implemented" ); return false; |