From 1568e51ff288e43b0a97257dbe3d3c81bdb1d386 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Mon, 13 Nov 2017 12:57:53 +0100 Subject: SotClipboardFormatId::STRING_TSVC "Unformatted text [TSV-Calc]", tdf#113571 In preparation to solve tdf#113571 *AND* keeping tdf#32213 fixed we need two separate unformatted text formats to distinguish between in-Calc on-cell paste and external or in-cell paste. Change-Id: Ic81a0c17d0643af2f5f4be50e67b690fd8846388 --- sot/source/base/exchange.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sot') diff --git a/sot/source/base/exchange.cxx b/sot/source/base/exchange.cxx index 37d917730e46..e69ae15d8ae8 100644 --- a/sot/source/base/exchange.cxx +++ b/sot/source/base/exchange.cxx @@ -203,7 +203,8 @@ namespace /*142 SotClipboardFormatId::STARWRITERGLOB_8_TEMPLATE*/ { MIMETYPE_OASIS_OPENDOCUMENT_TEXT_GLOBAL_TEMPLATE_ASCII, "Writer/Global 8 Template", &cppu::UnoType>::get() }, /*143 SotClipboardFormatId::MATHML*/ { "application/mathml+xml", "MathML", &::cppu::UnoType>::get() }, /*144 SotClipboardFormatId::JPEG*/ { "image/jpeg", "JPEG Bitmap", &cppu::UnoType>::get() }, - /*145 SotClipboardFormatId::RICHTEXT*/ { "text/richtext", "Richtext Format", &cppu::UnoType>::get() } + /*145 SotClipboardFormatId::RICHTEXT*/ { "text/richtext", "Richtext Format", &cppu::UnoType>::get() }, + /*146 SotClipboardFormatId::STRING_TSVC*/ { "application/x-libreoffice-tsvc", "Text TSV-Calc", &cppu::UnoType::get() } }; return &aInstance[0]; } -- cgit v1.2.3