diff options
author | Varun Dhall <varun.dhall@studentpartner.com> | 2017-07-23 21:26:34 +0530 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-08-07 15:45:20 +0200 |
commit | 9fa77d0cf0dbc0bcb627848263c417ba49e988d3 (patch) | |
tree | 256fb239d15601b1e11a4f6b975af166bb7980b3 /sc/source/ui/view/viewfun5.cxx | |
parent | 959ace5861ca8dbb5fbec7a1954eeeb3b93ae4f3 (diff) |
EditEngine: Removing BIN format from sc
Change-Id: I4d6b796439b90cab6a480f0bb8dc2c931e36cbe9
Reviewed-on: https://gerrit.libreoffice.org/40329
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sc/source/ui/view/viewfun5.cxx')
-rw-r--r-- | sc/source/ui/view/viewfun5.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/view/viewfun5.cxx b/sc/source/ui/view/viewfun5.cxx index 75f1c2d99830..2c2b431b85b9 100644 --- a/sc/source/ui/view/viewfun5.cxx +++ b/sc/source/ui/view/viewfun5.cxx @@ -285,8 +285,7 @@ bool ScViewFunc::PasteDataFormat( SotClipboardFormatId nFormatId, else if ( ScImportExport::IsFormatSupported( nFormatId ) || nFormatId == SotClipboardFormatId::RTF || nFormatId == SotClipboardFormatId::EDITENGINE_ODF_TEXT_FLAT ) { - if ( nFormatId == SotClipboardFormatId::RTF && ( aDataHelper.HasFormat( SotClipboardFormatId::EDITENGINE ) || - aDataHelper.HasFormat( SotClipboardFormatId::EDITENGINE_ODF_TEXT_FLAT ) ) ) + if ( nFormatId == SotClipboardFormatId::RTF && ( aDataHelper.HasFormat( SotClipboardFormatId::EDITENGINE_ODF_TEXT_FLAT ) ) ) { // use EditView's PasteSpecial / Drop PasteRTF( nPosX, nPosY, rxTransferable ); |