diff options
author | Varun Dhall <varun.dhall@studentpartner.com> | 2017-06-07 01:06:46 +0530 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-06-08 20:36:21 +0200 |
commit | b0f0096fbbccc212931501c5c879b65f9b0d7477 (patch) | |
tree | 977e98482d40789b75e8712305711ef8bb29c0d7 /sc/source/ui/view/viewfun4.cxx | |
parent | c8bc5869188b15d53dfbfaa3e2b8274fd6971b01 (diff) |
EditEngine: Added ODF_TEXT_FLAT paste for sc
Change-Id: I40acd32229faa9a4ec9941592a4a952b7d05ef01
Reviewed-on: https://gerrit.libreoffice.org/38464
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sc/source/ui/view/viewfun4.cxx')
-rw-r--r-- | sc/source/ui/view/viewfun4.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewfun4.cxx b/sc/source/ui/view/viewfun4.cxx index f5c7db96bf7e..49631800c989 100644 --- a/sc/source/ui/view/viewfun4.cxx +++ b/sc/source/ui/view/viewfun4.cxx @@ -79,7 +79,8 @@ void ScViewFunc::PasteRTF( SCCOL nStartCol, SCROW nStartRow, const css::uno::Reference< css::datatransfer::XTransferable >& rxTransferable ) { TransferableDataHelper aDataHelper( rxTransferable ); - if ( aDataHelper.HasFormat( SotClipboardFormatId::EDITENGINE ) ) + if ( aDataHelper.HasFormat( SotClipboardFormatId::EDITENGINE ) || + aDataHelper.HasFormat( SotClipboardFormatId::EDITENGINE_ODF_TEXT_FLAT ) ) { HideAllCursors(); |