summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2023-02-01 12:10:13 +0100
committerJulien Nabet <serval2412@yahoo.fr>2023-02-03 10:55:12 +0000
commit52ebc632b3cfa122dcb178cf28d8dbc7c7c57007 (patch)
tree15630ad5b6449e113a279971764d47a915a62d9b /sw/source
parent1f29c8ae9943668f8890459301373a0f183ea264 (diff)
Related tdf#153272: add some missing properties in SwSearchProperties
RES_PARATR_ORPHANS RES_PARATR_WIDOWS Change-Id: Ied760289e1ef8d60602991e5cdc0c743a31fd236 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146435 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/unocore/unosrch.cxx10
1 files changed, 9 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unosrch.cxx b/sw/source/core/unocore/unosrch.cxx
index 4f716230de8d..b9ee20b02c33 100644
--- a/sw/source/core/unocore/unosrch.cxx
+++ b/sw/source/core/unocore/unosrch.cxx
@@ -144,7 +144,9 @@ void SwSearchProperties_Impl::FillItemSet(SfxItemSet& rSet, bool bIsValueSearch)
pCharReliefItem,
pCharRotate,
pCharScaleWidth,
- pParaVertAlign;
+ pParaVertAlign,
+ pParaOrphans,
+ pParaWidows;
auto funcClone = [&rSet](sal_uInt16 nWID, std::unique_ptr<SfxPoolItem> & rpPoolItem)
{
@@ -314,6 +316,12 @@ void SwSearchProperties_Impl::FillItemSet(SfxItemSet& rSet, bool bIsValueSearch)
case RES_PARATR_VERTALIGN:
pTempItem = funcClone(nWID, pParaVertAlign);
break;
+ case RES_PARATR_ORPHANS:
+ pTempItem = funcClone(nWID, pParaOrphans);
+ break;
+ case RES_PARATR_WIDOWS:
+ pTempItem = funcClone(nWID, pParaWidows);
+ break;
}
if(pTempItem)
{