diff options
-rw-r--r-- | sw/source/uibase/docvw/PostItMgr.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/docvw/PostItMgr.cxx b/sw/source/uibase/docvw/PostItMgr.cxx index f6d5563895fc..bd8eb7c348f8 100644 --- a/sw/source/uibase/docvw/PostItMgr.cxx +++ b/sw/source/uibase/docvw/PostItMgr.cxx @@ -1747,7 +1747,8 @@ void SwPostItMgr::Hide() for (auto const& postItField : mvPostItFields) { postItField->mbShow = false; - postItField->mpPostIt->HideNote(); + if (postItField->mpPostIt) + postItField->mpPostIt->HideNote(); } } |