diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2023-03-14 12:12:39 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2023-03-14 15:28:45 +0000 |
commit | 34504d2496a32f64952ec434ce1ac30ee2d9fb66 (patch) | |
tree | d8e129b1dfb5a1692e18791a17a1dd75f10856df /sot | |
parent | bb739dbcfc4e9b6467d09fc624ab618a4279cffe (diff) |
CppunitTest_sot_test_sot: remove duplicated assert
This was added in commit 29d4ecf32392bc94ab0ba9e73fd79eba65c23fdb
(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
Diffstat (limited to 'sot')
-rw-r--r-- | sot/qa/cppunit/test_sot.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sot/qa/cppunit/test_sot.cxx b/sot/qa/cppunit/test_sot.cxx index 74f0771851d5..7fd1b9a6c18f 100644 --- a/sot/qa/cppunit/test_sot.cxx +++ b/sot/qa/cppunit/test_sot.cxx @@ -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)); |