diff options
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/qa/propertysetmixin/test_propertysetmixin.cxx | 8 | ||||
-rw-r--r-- | cppuhelper/source/defaultbootstrap.cxx | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/cppuhelper/qa/propertysetmixin/test_propertysetmixin.cxx b/cppuhelper/qa/propertysetmixin/test_propertysetmixin.cxx index cff87436ce2c..4e0d3a9258bd 100644 --- a/cppuhelper/qa/propertysetmixin/test_propertysetmixin.cxx +++ b/cppuhelper/qa/propertysetmixin/test_propertysetmixin.cxx @@ -270,16 +270,16 @@ void Test::testEmpty2( OUString("any")); CPPUNIT_FAIL("exception expected"); } catch (css::beans::UnknownPropertyException &) {} - rtl::Reference< BoundListener > boundListener1(new BoundListener); + rtl::Reference boundListener1(new BoundListener); empty2p->addPropertyChangeListener(OUString(), boundListener1.get()); empty2p->addPropertyChangeListener(OUString(), boundListener1.get()); - rtl::Reference< BoundListener > boundListener2(new BoundListener); + rtl::Reference boundListener2(new BoundListener); empty2p->removePropertyChangeListener( OUString(), boundListener2.get()); - rtl::Reference< VetoListener > vetoListener1(new VetoListener); + rtl::Reference vetoListener1(new VetoListener); empty2p->addVetoableChangeListener(OUString(), vetoListener1.get()); empty2p->addVetoableChangeListener(OUString(), vetoListener1.get()); - rtl::Reference< VetoListener > vetoListener2(new VetoListener); + rtl::Reference vetoListener2(new VetoListener); empty2p->addVetoableChangeListener(OUString(), vetoListener2.get()); empty2p->removeVetoableChangeListener(OUString(), vetoListener2.get()); css::uno::Reference< css::beans::XFastPropertySet > empty2f( diff --git a/cppuhelper/source/defaultbootstrap.cxx b/cppuhelper/source/defaultbootstrap.cxx index fe971f0c139d..c2d69990bf24 100644 --- a/cppuhelper/source/defaultbootstrap.cxx +++ b/cppuhelper/source/defaultbootstrap.cxx @@ -53,10 +53,10 @@ cppu::defaultBootstrap_InitialComponentContext(OUString const & iniUri) throw css::uno::DeploymentException( "Cannot open uno ini " + iniUri); } - rtl::Reference< cppuhelper::ServiceManager > smgr( + rtl::Reference smgr( new cppuhelper::ServiceManager); smgr->init(getBootstrapVariable(bs, "UNO_SERVICES")); - rtl::Reference< cppuhelper::TypeManager > tmgr(new cppuhelper::TypeManager); + rtl::Reference tmgr(new cppuhelper::TypeManager); tmgr->init(getBootstrapVariable(bs, "UNO_TYPES")); std::vector< cppu::ContextEntry_Init > context_values; context_values.push_back( |