sc/source/ui/unoobj/srchuno.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit c771c2431453414d4a7a9b730032fc77b78f437f
Author:     Mike Kaganski <[email protected]>
AuthorDate: Fri Jun 27 20:59:47 2025 +0200
Commit:     Mike Kaganski <[email protected]>
CommitDate: Fri Jun 27 23:31:12 2025 +0200

    Put "SearchFiltered" and "SearchFormatted" into ScCellSearchObj's ...
    
    ... XPropertySetInfo. These were forgotten in commits
    2d301b6f4afc6e961e69b8821c0c10b43c7f5066 (Ported calc-find-
    replace-skip-filtered-sc.diff from ooo-build., 2010-09-28)
    and 9a85743766e8a063d20d5f93ee88758e243397f4 (tdf#48456 : when
    searching for a number, consider formatting, 2015-10-23).
    
    Allows to access these using uniform 'x.PropertyName' syntax
    in Basic and Python.
    
    Change-Id: Ie375392179d5a87476de2c2465fa81fcba02a032
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187122
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <[email protected]>

diff --git a/sc/source/ui/unoobj/srchuno.cxx b/sc/source/ui/unoobj/srchuno.cxx
index 9312fdcd3c55..570d60c59b6f 100644
--- a/sc/source/ui/unoobj/srchuno.cxx
+++ b/sc/source/ui/unoobj/srchuno.cxx
@@ -49,6 +49,8 @@ static std::span<const SfxItemPropertyMapEntry> 
lcl_GetSearchPropertyMap()
         { SC_UNO_SRCHSTYLES,   0,      cppu::UnoType<bool>::get(),       0, 0},
         { SC_UNO_SRCHTYPE,     0,      cppu::UnoType<sal_Int16>::get(), 0, 0}, 
// enum TableSearch is gone
         { SC_UNO_SRCHWORDS,    0,      cppu::UnoType<bool>::get(),       0, 0},
+        { SC_UNO_SRCHFILTERED,  0,     cppu::UnoType<bool>::get(),      0, 0 },
+        { SC_UNO_SRCHFORMATTED, 0,     cppu::UnoType<bool>::get(),      0, 0 },
         { SC_UNO_SRCHWCESCCHAR, 0,     cppu::UnoType<sal_Int32>::get(), 0, 0 },
     };
     return aSearchPropertyMap_Impl;

Reply via email to