summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/sfxhelp.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-27 09:40:31 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-27 11:15:27 +0100
commit89a95f5fa5a2e10d2c67d33270fa31404df33fd5 (patch)
tree7c3423db53a43b7873208921cfa38d7a9ec4fe33 /sfx2/source/appl/sfxhelp.cxx
parentb859e9f646b6f023beeca01c59673a7b442e2332 (diff)
return by unique_ptr from weld_parent
Change-Id: I3582b3000330fab96f6abef0f412b648b0573af4 Reviewed-on: https://gerrit.libreoffice.org/69793 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/appl/sfxhelp.cxx')
-rw-r--r--sfx2/source/appl/sfxhelp.cxx2
1 files changed, 1 insertions, 1 deletions
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())