sw/source/core/unocore/unosrch.cxx |   18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

New commits:
commit 52216e9aad59c6c43b47f3d29d73bde9d11280d3
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Mon Jan 30 22:00:31 2023 +0100
Commit:     Michael Stahl <michael.st...@allotropia.de>
CommitDate: Thu Feb 2 11:26:28 2023 +0000

    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.gran...@collabora.co.uk>
    (cherry picked from commit 2d9570523b16dd157eeee384040642e3c2e0ed05)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146401
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>

diff --git a/sw/source/core/unocore/unosrch.cxx 
b/sw/source/core/unocore/unosrch.cxx
index ee260c077b61..646d5955ba90 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)
         {

Reply via email to