diff options
Diffstat (limited to 'configmgr/qa/unit/test.cxx')
-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"); |