summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-10-19 15:17:14 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-10-21 16:44:01 +0200
commit77caedfd01e4e38dd30ac1270433ae6ae1d5a53d (patch)
tree23a23ea14ab18d2ded713c140ccfc87b09e40f7a /sfx2
parent644c93970293c4fee0d5de7a92e8e22e9da259f9 (diff)
Revert "CppunitTest_desktop_lib: add ModifiedStatus callback testcase"
This reverts commit cdf08b3aa74bb32ea18b583a9c0c41b91d7819ac. It breaks 'make -sr CppunitTest_desktop_lib CPPUNIT_TEST_NAME="DesktopLOKTest::testPaintPartTile DesktopLOKTest::testWriterCommentInsertCursor" VALGRIND=memcheck' (it is terminated by SIGSEGV), and also it's the reason why sometimes the lo_ubsan buildbot fails, see e.g. <http://ci.libreoffice.org/job/lo_ubsan/329/console>. This has to be re-introduced once I find a way to process all binding updates at once without side-effects. Conflicts: desktop/qa/desktop_lib/test_desktop_lib.cxx sfx2/source/control/bindings.cxx (cherry picked from commit b86b78e0ad9bb1e6ed2e22a0fca18cad8d19ded1) Change-Id: Id6c49b9b31095ef1a1a8c1cd92cbae5deb316500
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/bindings.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sfx2/source/control/bindings.cxx b/sfx2/source/control/bindings.cxx
index 4f5d0de4df3c..c27f1aea135c 100644
--- a/sfx2/source/control/bindings.cxx
+++ b/sfx2/source/control/bindings.cxx
@@ -1569,9 +1569,7 @@ bool SfxBindings::NextJob_Impl(Timer * pTimer)
}
// if possible Update all server / happens in its own time slice
- // but process all events at once when unit testing, for reliability reasons
- static bool bTest = getenv("LO_TESTNAME");
- if ( pImp->bMsgDirty && !bTest )
+ if ( pImp->bMsgDirty )
{
UpdateSlotServer_Impl();
return false;