From 054c2946a130a1acea91140f4e7c3e4a0f93a170 Mon Sep 17 00:00:00 2001 From: Oliver Specht Date: Wed, 11 Dec 2024 14:24:17 +0100 Subject: tdf#163634 Format empty paragraph if they have a bullet/numbering Some optimization in commit 52abeff6d5836b29dbefe69f284bbd89f6672ae2 ignores paragph attributes if the paragraph is empty. But it is not empty if it has an active list. Change-Id: I8885d0f201fc48279263a3d41ec6d660b534ded2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178311 Tested-by: Jenkins Reviewed-by: Thorsten Behrens (cherry picked from commit fdb13df0cb759e65e48bb65b1513e8add429d4d6) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178553 Reviewed-by: Adolfo Jayme Barrientos --- editeng/inc/outleeng.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'editeng/inc') diff --git a/editeng/inc/outleeng.hxx b/editeng/inc/outleeng.hxx index 56f7aa62485e..fe118d78ed92 100644 --- a/editeng/inc/outleeng.hxx +++ b/editeng/inc/outleeng.hxx @@ -69,6 +69,8 @@ public: virtual tools::Rectangle GetBulletArea( sal_Int32 nPara ) override; + sal_Int16 GetDepth( sal_Int32 nPara ) const; + /// @returns state of the SdrCompatibilityFlag std::optional GetCompatFlag(SdrCompatibilityFlag eFlag) const; -- cgit