summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2023-01-30 22:00:31 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-02-01 06:49:59 +0000
commit2d9570523b16dd157eeee384040642e3c2e0ed05 (patch)
tree308e55f9ac0e5148a9314dba603eb524504c891d /sw
parent6f4b8b7cfe2907b7da46eec6951a0e09b836a6de (diff)
tdf#153272: add some missing properties in SwSearchProperties
RES_CHRATR_RELIEF RES_CHRATR_ROTATE RES_CHRATR_SCALEW RES_PARATR_VERTALIGN Change-Id: Ic4a3323a4b4b4231dee083016a6112a9e2674c86 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146370 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/unocore/unosrch.cxx18
1 files changed, 17 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unosrch.cxx b/sw/source/core/unocore/unosrch.cxx
index e7684861b5c9..4f716230de8d 100644
--- a/sw/source/core/unocore/unosrch.cxx
+++ b/sw/source/core/unocore/unosrch.cxx
@@ -140,7 +140,11 @@ void SwSearchProperties_Impl::FillItemSet(SfxItemSet& rSet, bool bIsValueSearch)
pCTLLangItem,
pCTLPostureItem,
pCTLWeightItem,
- pShadowItem ;
+ pShadowItem,
+ pCharReliefItem,
+ pCharRotate,
+ pCharScaleWidth,
+ pParaVertAlign;
auto funcClone = [&rSet](sal_uInt16 nWID, std::unique_ptr<SfxPoolItem> & rpPoolItem)
{
@@ -298,6 +302,18 @@ void SwSearchProperties_Impl::FillItemSet(SfxItemSet& rSet, bool bIsValueSearch)
case RES_CHRATR_SHADOW:
pTempItem = funcClone(nWID, pShadowItem);
break;
+ case RES_CHRATR_RELIEF:
+ pTempItem = funcClone(nWID, pCharReliefItem);
+ break;
+ case RES_CHRATR_ROTATE:
+ pTempItem = funcClone(nWID, pCharRotate);
+ break;
+ case RES_CHRATR_SCALEW:
+ pTempItem = funcClone(nWID, pCharScaleWidth);
+ break;
+ case RES_PARATR_VERTALIGN:
+ pTempItem = funcClone(nWID, pParaVertAlign);
+ break;
}
if(pTempItem)
{