<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - assertion in SvxSearchItem::GetRegExp() const, srchitem.hxx:244"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=111818#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - assertion in SvxSearchItem::GetRegExp() const, srchitem.hxx:244"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=111818">bug 111818</a>
              from <span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span></b>
        <pre>I think the pb is in impl_executeSearch more precisely here:
114      css::uno::Sequence< css::beans::PropertyValue > lArgs(7);
115      lArgs[0].Name = "SearchItem.SearchString";
116      lArgs[0].Value <<= sFindText;
117      lArgs[1].Name = "SearchItem.Backward";
118      lArgs[1].Value <<= aSearchBackwards;
119      lArgs[2].Name = "SearchItem.SearchFlags";
120      lArgs[2].Value <<= (sal_Int32)0;
121      lArgs[3].Name = "SearchItem.TransliterateFlags";
122      SvtCTLOptions aCTLOptions;
123      TransliterationFlags nFlags = TransliterationFlags::NONE;
124      if (!aMatchCase)
125          nFlags |= TransliterationFlags::IGNORE_CASE;
126      if (aCTLOptions.IsCTLFontEnabled())
127          nFlags |= TransliterationFlags::IGNORE_DIACRITICS_CTL;
128      if (aCTLOptions.IsCTLFontEnabled())
129          nFlags |= TransliterationFlags::IGNORE_KASHIDA_CTL;
130      lArgs[3].Value <<= (sal_Int32)nFlags;
131      lArgs[4].Name = "SearchItem.Command";
132      lArgs[4].Value <<= (sal_Int16)(aFindAll ?
133          SvxSearchCmd::FIND_ALL : SvxSearchCmd::FIND );
134      lArgs[5].Name = "SearchItem.AlgorithmType";
135      lArgs[5].Value <<= (sal_Int16)0;  // 0 == SearchAlgorithms_ABSOLUTE
136      lArgs[6].Name = "SearchItem.SearchFormatted";
137      lArgs[6].Value <<= bSearchFormatted;
138  
139      css::uno::Reference< css::frame::XDispatchProvider >
xDispatchProvider(xFrame, css::uno::UNO_QUERY);
(see
<a href="https://opengrok.libreoffice.org/xref/core/svx/source/tbxctrls/tbunosearchcontrollers.cxx#135">https://opengrok.libreoffice.org/xref/core/svx/source/tbxctrls/tbunosearchcontrollers.cxx#135</a>)

I suppose we should add the arg "SearchItem.AlgorithmType2" with ABSOLUTE too,
unless we should synchronize with options set before?</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>