summaryrefslogtreecommitdiff
path: root/comphelper/source/misc
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2023-07-17 19:24:59 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2023-07-17 20:27:26 +0200
commitbb7387236a9fe19656e86de6d00d02beceb7d84b (patch)
treedae794ea77a4e8e326ec3521c6180815b0b6b156 /comphelper/source/misc
parent5c97c320338da4bb33ea3cf2479079923d8723e3 (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.cxx2
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&)