From 89a95f5fa5a2e10d2c67d33270fa31404df33fd5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 27 Mar 2019 09:40:31 +0200 Subject: return by unique_ptr from weld_parent Change-Id: I3582b3000330fab96f6abef0f412b648b0573af4 Reviewed-on: https://gerrit.libreoffice.org/69793 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sfx2/source/appl/sfxhelp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfx2/source/appl/sfxhelp.cxx') diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx index 99042b9e0f04..8567731b0b77 100644 --- a/sfx2/source/appl/sfxhelp.cxx +++ b/sfx2/source/appl/sfxhelp.cxx @@ -649,7 +649,7 @@ OUString SfxHelp::GetHelpText(const OUString& aCommandURL, const weld::Widget* p if (!sHelpText.isEmpty()) xParent.reset(); else - xParent.reset(xParent->weld_parent()); + xParent = xParent->weld_parent(); } if (bIsDebug && sHelpText.isEmpty()) -- cgit