Function Wizard: exclude functions with hidden flag from lists

Change-Id: Ia209bb44cef5969e5c9cd360aa5725708d6bdec5
This commit is contained in:
Eike Rathke
2016-01-08 23:12:32 +01:00
parent 8aee44c94f
commit f6f73d2e40

View File

@@ -108,8 +108,9 @@ void FuncPage::impl_addFunctions(const IFunctionCategory* _pCategory)
for(sal_uInt32 i = 0 ; i < nCount; ++i) for(sal_uInt32 i = 0 ; i < nCount; ++i)
{ {
TFunctionDesc pDesc(_pCategory->getFunction(i)); TFunctionDesc pDesc(_pCategory->getFunction(i));
m_pLbFunction->SetEntryData( if (!pDesc->isHidden())
m_pLbFunction->InsertEntry(pDesc->getFunctionName() ),const_cast<IFunctionDescription *>(pDesc) ); m_pLbFunction->SetEntryData(
m_pLbFunction->InsertEntry(pDesc->getFunctionName() ),const_cast<IFunctionDescription *>(pDesc) );
} }
} }