tdf#146781 - Function wizard: search desired function also in the description
Change-Id: I12f2fd5bf3497505a8652ab98bccb495a619333d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136905 Tested-by: Jenkins Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
This commit is contained in:
parent
77ead3d8c0
commit
bb4314aa21
1 changed files with 3 additions and 1 deletions
|
@ -159,7 +159,9 @@ void FuncPage::UpdateFunctionList(const OUString& aStr)
|
|||
for (sal_uInt32 j = 0; j < nFunctionCount; ++j)
|
||||
{
|
||||
TFunctionDesc pDesc(pCategory->getFunction(j));
|
||||
if (rCharClass.uppercase(pDesc->getFunctionName()).indexOf(aSearchStr) >= 0)
|
||||
// tdf#146781 - search for the desired function also in the description
|
||||
if (rCharClass.uppercase(pDesc->getFunctionName()).indexOf(aSearchStr) >= 0
|
||||
|| rCharClass.uppercase(pDesc->getDescription()).indexOf(aSearchStr) >= 0)
|
||||
{
|
||||
if (!pDesc->isHidden())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue