diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-05-12 14:23:23 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-05-12 14:23:23 +0200 |
commit | 9ea219dc5aa4b1cb64b73574c79ce645963d772d (patch) | |
tree | 3a93200537a9dded1756d4f160a71ab9d77eb5a1 | |
parent | 42b7285efa5e633dc520cef3b724685078c0ee26 (diff) |
loplugin:passstuffbyref
Change-Id: I5a98cea6402b0a02c0e7c329d07d05759a74ec95
-rw-r--r-- | cppuhelper/source/servicemanager.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cppuhelper/source/servicemanager.hxx b/cppuhelper/source/servicemanager.hxx index 1b9cfdb02449..8c81fd087522 100644 --- a/cppuhelper/source/servicemanager.hxx +++ b/cppuhelper/source/servicemanager.hxx @@ -207,7 +207,9 @@ public: void addSingletonContextEntries( std::vector< cppu::ContextEntry_Init > * entries); - css::uno::Reference< css::uno::XComponentContext > getContext() const { + css::uno::Reference< css::uno::XComponentContext > const & getContext() + const + { assert(context_.is()); return context_; } |