diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-08-04 16:42:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-08-04 22:40:48 +0200 |
commit | f7197e574cdbd7410fcadab1632bcce2626dca5a (patch) | |
tree | d7d2f9563037bc647db25aa0704b5a6ced1cca8c /sw/source/uibase/docvw | |
parent | 59471bb949e8d8d64023b17136921f59e0bf705e (diff) |
simplify IMark hierarchy (6)
merge IMark into MarkBase
Change-Id: I5d3c648c950f97497c96912c25081906de434056
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171464
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'sw/source/uibase/docvw')
-rw-r--r-- | sw/source/uibase/docvw/PostItMgr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/docvw/PostItMgr.cxx b/sw/source/uibase/docvw/PostItMgr.cxx index 2806ad9b272d..a768bc2b63d0 100644 --- a/sw/source/uibase/docvw/PostItMgr.cxx +++ b/sw/source/uibase/docvw/PostItMgr.cxx @@ -574,7 +574,7 @@ bool SwPostItMgr::CalcRects() // update layout information const SwTextAnnotationField* pTextAnnotationField = dynamic_cast< const SwTextAnnotationField* >( pItem->GetFormatField().GetTextField() ); - const ::sw::mark::IMark* pAnnotationMark = + const ::sw::mark::MarkBase* pAnnotationMark = pTextAnnotationField != nullptr ? pTextAnnotationField->GetAnnotationMark() : nullptr; if ( pAnnotationMark != nullptr ) { |