summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-05-12 14:23:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-05-12 14:23:23 +0200
commit9ea219dc5aa4b1cb64b73574c79ce645963d772d (patch)
tree3a93200537a9dded1756d4f160a71ab9d77eb5a1 /cppuhelper
parent42b7285efa5e633dc520cef3b724685078c0ee26 (diff)
loplugin:passstuffbyref
Change-Id: I5a98cea6402b0a02c0e7c329d07d05759a74ec95
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/servicemanager.hxx4
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_;
}