summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
{