cppuhelper/source/servicemanager.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 9ea219dc5aa4b1cb64b73574c79ce645963d772d Author: Stephan Bergmann <sberg...@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_; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits