summaryrefslogtreecommitdiff
path: root/cppuhelper/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-02-19 16:00:52 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-02-19 17:39:16 +0100
commit5206992e6e9b22b48cea0a4a7626ee576c66492e (patch)
treedfc29178d2536d31d8de06556a32503feec3fe2b /cppuhelper/source
parent12180ed8d6d64f78d37c6ee070da5a1ab3684843 (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 'cppuhelper/source')
-rw-r--r--cppuhelper/source/defaultbootstrap.cxx4
1 files changed, 2 insertions, 2 deletions
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(