diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2023-07-17 19:24:59 +0200 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2023-07-17 20:27:26 +0200 |
commit | bb7387236a9fe19656e86de6d00d02beceb7d84b (patch) | |
tree | dae794ea77a4e8e326ec3521c6180815b0b6b156 /comphelper/source/misc | |
parent | 5c97c320338da4bb33ea3cf2479079923d8723e3 (diff) |
Simplify a bit
Change-Id: Iaf09fd3ad3587cdd7079c70785cdee6ea52b247e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154531
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'comphelper/source/misc')
-rw-r--r-- | comphelper/source/misc/configuration.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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&) |