dev/null                                           |binary
 sw/qa/core/objectpositioning/objectpositioning.cxx |   14 --------------
 2 files changed, 14 deletions(-)

New commits:
commit 332faa63407305852f5044e4bbc41302ccfe46cd
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Fri Feb 2 12:10:13 2024 +0100
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Fri Feb 2 13:20:59 2024 +0100

    Revert "tdf#154863 Add unit test to cover crash on image move"
    
    This reverts commit 16d46e25e03cd506576ac3dcb6be56270b47b4a6.
    
    Reason for revert: macOs jenkins fails in 
CppunitTest_sw_core_objectpositioning now
    
    Change-Id: I45ed894c9773e0dc23d0f9fdd9066eb5ca7110f5
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162901
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/sw/qa/core/objectpositioning/data/tdf154863-img-move-crash.docx 
b/sw/qa/core/objectpositioning/data/tdf154863-img-move-crash.docx
deleted file mode 100644
index ca402edef74d..000000000000
Binary files a/sw/qa/core/objectpositioning/data/tdf154863-img-move-crash.docx 
and /dev/null differ
diff --git a/sw/qa/core/objectpositioning/objectpositioning.cxx 
b/sw/qa/core/objectpositioning/objectpositioning.cxx
index 717d63ded052..bf560cbdaf90 100644
--- a/sw/qa/core/objectpositioning/objectpositioning.cxx
+++ b/sw/qa/core/objectpositioning/objectpositioning.cxx
@@ -25,8 +25,6 @@
 #include <flyfrm.hxx>
 #include <frmatr.hxx>
 
-#include <vcl/scheduler.hxx>
-
 namespace
 {
 /// Covers sw/source/core/objectpositioning/ fixes.
@@ -58,18 +56,6 @@ CPPUNIT_TEST_FIXTURE(Test, testOverlapCrash)
     pWrtShell->SplitNode();
 }
 
-CPPUNIT_TEST_FIXTURE(Test, testImgMoveCrash)
-{
-    createSwDoc("tdf154863-img-move-crash.docx");
-    uno::Reference<drawing::XShape> xShape(getShapeByName(u"Image26"), 
uno::UNO_QUERY);
-    uno::Reference<beans::XPropertySet> xShapeProps(xShape, uno::UNO_QUERY);
-    xShapeProps->setPropertyValue("VertOrient", 
uno::Any(static_cast<sal_Int32>(0)));
-    xShapeProps->setPropertyValue("VertOrientPosition", 
uno::Any(static_cast<sal_Int32>(3000)));
-    Scheduler::ProcessEventsToIdle();
-    // Crash expected before assert if bug exists
-    CPPUNIT_ASSERT(true);
-}
-
 CPPUNIT_TEST_FIXTURE(Test, testVertPosFromBottom)
 {
     // Create a document, insert a shape and position it 1cm above the bottom 
of the body area.

Reply via email to