summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-05-28 15:59:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-05-29 12:41:05 +0200
commit1df758fce8ac23b54f96f2c0f3dd608bb1da024a (patch)
tree8643c57a825350433e91c83e6923ef425824eca6 /sw
parente4c365618fca79aeb6f3c87bb1cd47b1809dfbc6 (diff)
remove IsDisposed check in sw
already checked by call sites Change-Id: Id03d07b7aebd36e891f831ff4bdab7e63a7c4ff7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116345 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/docvw/AnnotationWin.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sw/source/uibase/docvw/AnnotationWin.cxx b/sw/source/uibase/docvw/AnnotationWin.cxx
index e354a62204a8..01d12affedad 100644
--- a/sw/source/uibase/docvw/AnnotationWin.cxx
+++ b/sw/source/uibase/docvw/AnnotationWin.cxx
@@ -138,9 +138,6 @@ SwAnnotationWin::~SwAnnotationWin()
void SwAnnotationWin::dispose()
{
- if (IsDisposed())
- return;
-
mrMgr.DisconnectSidebarWinFromFrame( *(mrSidebarItem.maLayoutInfo.mpAnchorFrame),
*this );