summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2023-12-13 10:18:00 +0100
committerStephan Bergmann <stephan.bergmann@allotropia.de>2023-12-13 20:48:27 +0100
commit13b7905ba142d78b6061c52a8cc191125b0d7d5f (patch)
tree1b4d091c2a20d3f289b0a1b52008212d20ca0330
parent8dd210c44268850195204cd7b7ca5e7aab0b33e8 (diff)
Remove misleading comment
...that had been added with 33fa50e1191c75fd2fcbf6f852ec1d76af58a577 "Drop some pointless assertions" back in 2011, but is no longer meaningful now that this is a proper assert since 6e35794cad555485955c3b43593497dcdbf29840 "terminate XDesktop properly in unit tests" Change-Id: Id8592df03f2a4c070af3cc691a0aa65ba8c2c061 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160675 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
-rw-r--r--framework/source/services/desktop.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/framework/source/services/desktop.cxx b/framework/source/services/desktop.cxx
index 237d35afc6a5..12a45fa93117 100644
--- a/framework/source/services/desktop.cxx
+++ b/framework/source/services/desktop.cxx
@@ -1038,8 +1038,6 @@ void SAL_CALL Desktop::disposing()
// Safe impossible cases
// It's a programming error if dispose is called before terminate!
- // But if you just ignore the assertion (which happens in unit
- // tests for instance in sc/qa/unit) nothing bad happens.
assert(m_bIsShutdown && "Desktop disposed before terminating it");
{