comphelper/source/misc/configuration.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit bb7387236a9fe19656e86de6d00d02beceb7d84b Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Mon Jul 17 19:24:59 2023 +0200 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Mon Jul 17 20:27:26 2023 +0200 Simplify a bit Change-Id: Iaf09fd3ad3587cdd7079c70785cdee6ea52b247e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154531 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/comphelper/source/misc/configuration.cxx b/comphelper/source/misc/configuration.cxx index f91e85852831..f4ee4e0298bb 100644 --- a/comphelper/source/misc/configuration.cxx +++ b/comphelper/source/misc/configuration.cxx @@ -153,7 +153,7 @@ comphelper::detail::ConfigurationWrapper::ConfigurationWrapper(): maNotifier = css::uno::Reference< css::util::XChangesNotifier >(xCfg, css::uno::UNO_QUERY); assert(maNotifier.is()); - maListener = css::uno::Reference< ConfigurationChangesListener >(new ConfigurationChangesListener(*this)); + maListener.set(new ConfigurationChangesListener(*this)); maNotifier->addChangesListener(maListener); } catch(const css::uno::Exception&)