summaryrefslogtreecommitdiff
path: root/sc/source/ui/formdlg
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-06-22 13:10:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-06-26 08:08:31 +0200
commit0901f0b88beb50d9d6acc6eccd96fe55d96a6986 (patch)
treeffc14e5d0b681a98b7399a8d21e4592717c7ca43 /sc/source/ui/formdlg
parent95d9d5c8d53ec6c3ced3615f9d9420e2698dc04d (diff)
loplugin:useuniqueptr in ScFuncDesc
Change-Id: I2b4843bea22c097d377351833e0215153f6721ad Reviewed-on: https://gerrit.libreoffice.org/56330 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/formdlg')
-rw-r--r--sc/source/ui/formdlg/dwfunctr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/formdlg/dwfunctr.cxx b/sc/source/ui/formdlg/dwfunctr.cxx
index 7f7848e5a432..7abb24ee10f3 100644
--- a/sc/source/ui/formdlg/dwfunctr.cxx
+++ b/sc/source/ui/formdlg/dwfunctr.cxx
@@ -189,7 +189,7 @@ void ScFunctionWin::SetDescription()
aBuf.append(":\n\n");
aBuf.append(pDesc->GetParamList());
aBuf.append("\n\n");
- aBuf.append(*pDesc->pFuncDesc);
+ aBuf.append(*pDesc->mxFuncDesc);
aFiFuncDesc->SetText(aBuf.makeStringAndClear());
aFiFuncDesc->StateChanged(StateChangedType::Text);
@@ -230,7 +230,7 @@ void ScFunctionWin::UpdateFunctionList()
while ( pDesc )
{
aFuncList->SetEntryData(
- aFuncList->InsertEntry( *(pDesc->pFuncName) ),
+ aFuncList->InsertEntry( *(pDesc->mxFuncName) ),
const_cast<ScFuncDesc *>(pDesc) );
pDesc = pFuncMgr->Next();
}