diff options
Diffstat (limited to 'cppuhelper/source/servicemanager.hxx')
-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_; } |