Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Commit f08367b

Browse files
authored
Fix comments regression (#89)
1 parent 7fe21d6 commit f08367b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.1.4
1+
v0.1.5

libreoffice-core/sw/source/uibase/docvw/PostItMgr.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -530,8 +530,8 @@ bool SwPostItMgr::CalcRects()
530530
for (auto const& pItem : mvPostItFields)
531531
{
532532
// MACRO: skip layout for non-root comments {
533-
if (!pItem->mpPostIt ||
534-
!pItem->mpPostIt->GetPostItField() ||
533+
if (pItem->mpPostIt &&
534+
pItem->mpPostIt->GetPostItField() &&
535535
pItem->mpPostIt->GetPostItField()->GetParentPostItId() != 0) continue;
536536
// MACRO: }
537537
if (!pItem->UseElement(*mpWrtShell->GetLayout(), rIDRA))

0 commit comments

Comments
 (0)