[Libreoffice-commits] core.git: cppuhelper/source
Stephan Bergmann
sbergman at redhat.com
Thu May 12 12:24:21 UTC 2016
cppuhelper/source/servicemanager.hxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 9ea219dc5aa4b1cb64b73574c79ce645963d772d
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu May 12 14:23:23 2016 +0200
loplugin:passstuffbyref
Change-Id: I5a98cea6402b0a02c0e7c329d07d05759a74ec95
diff --git a/cppuhelper/source/servicemanager.hxx b/cppuhelper/source/servicemanager.hxx
index 1b9cfdb..8c81fd0 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_;
}
More information about the Libreoffice-commits
mailing list