diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-02-19 16:00:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-02-19 17:39:16 +0100 |
commit | 5206992e6e9b22b48cea0a4a7626ee576c66492e (patch) | |
tree | dfc29178d2536d31d8de06556a32503feec3fe2b /configmgr/qa | |
parent | 12180ed8d6d64f78d37c6ee070da5a1ab3684843 (diff) |
Some uses of C++17 class template argument deduction
Change-Id: I47c469c0fcdff41d83729be9489c946e81ef3686
Reviewed-on: https://gerrit.libreoffice.org/68020
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'configmgr/qa')
-rw-r--r-- | configmgr/qa/unit/test.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configmgr/qa/unit/test.cxx b/configmgr/qa/unit/test.cxx index f98fa730f58c..367d84a6cbe1 100644 --- a/configmgr/qa/unit/test.cxx +++ b/configmgr/qa/unit/test.cxx @@ -359,14 +359,14 @@ void Test::testListener() // test with no props. { - rtl::Reference<comphelper::ConfigurationListener> xListener( + rtl::Reference xListener( new comphelper::ConfigurationListener(aRandomPath)); xListener->dispose(); } // test some changes { - rtl::Reference<comphelper::ConfigurationListener> xListener( + rtl::Reference xListener( new comphelper::ConfigurationListener(aRandomPath)); comphelper::ConfigurationListenerProperty<bool> aSetting(xListener, "AutoRedraw"); |