CppunitTest_sot_test_sot: remove duplicated assert
This was added in commit 29d4ecf323
(tdf#115574 sot: fix Excel -> Writer paste, 2018-03-29), where it was
hard to consider 4 bugreports at the same time, so I wrote asserts for
each bugreport. But at the end 1 bugreport is a superset of an other
one, so just moving the 2 comments next to each other having 2 asserts
instead of 3 leads to a simple removal of the duplication.
Change-Id: Iaedccf5ac498dd6842c25b60b507e63332daddf9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148847
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
This commit is contained in:
parent
bb739dbcfc
commit
34504d2496
1 changed files with 0 additions and 1 deletions
|
@ -171,7 +171,6 @@ namespace
|
|||
{
|
||||
const SotAction_Impl* pFormats = sot::GetExchangeDestinationWriterFreeAreaCopy();
|
||||
// tdf#52547 prefer BITMAP over HTML
|
||||
CPPUNIT_ASSERT(FindFormatIndex(pFormats, SotClipboardFormatId::BITMAP) < FindFormatIndex(pFormats, SotClipboardFormatId::HTML));
|
||||
// tdf#78801 prefer image over html over text
|
||||
CPPUNIT_ASSERT(FindFormatIndex(pFormats, SotClipboardFormatId::BITMAP) < FindFormatIndex(pFormats, SotClipboardFormatId::HTML));
|
||||
CPPUNIT_ASSERT(FindFormatIndex(pFormats, SotClipboardFormatId::HTML) < FindFormatIndex(pFormats, SotClipboardFormatId::STRING));
|
||||
|
|
Loading…
Reference in a new issue