diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-20 23:30:49 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-20 23:30:49 +0100 |
commit | 585d5621f17f0e70ae5bd2ad0a855ba8490d3b25 (patch) | |
tree | 5612316bff6c216e687de46f035a46e80b7b879e /cppuhelper/source/servicemanager.hxx | |
parent | Fake proper lib ID for macosx-change-install-names into external/curl (diff) | |
download | core-585d5621f17f0e70ae5bd2ad0a855ba8490d3b25.tar.gz core-585d5621f17f0e70ae5bd2ad0a855ba8490d3b25.zip |
Simplify code; STATUS_LOADED => component||factory1||factory2
Change-Id: I661eb69551eae3d888d156c6bd4291a532d0b6ab
Diffstat (limited to 'cppuhelper/source/servicemanager.hxx')
-rw-r--r-- | cppuhelper/source/servicemanager.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/source/servicemanager.hxx b/cppuhelper/source/servicemanager.hxx index 8a3bc7fb69a3..a9522a564e5e 100644 --- a/cppuhelper/source/servicemanager.hxx +++ b/cppuhelper/source/servicemanager.hxx @@ -121,7 +121,7 @@ public: factory1(theFactory1), factory2(theFactory2), component(theComponent), status(STATUS_LOADED), dispose(false) - {} + { assert(theFactory1.is() || theFactory2.is()); } css::uno::Reference<css::uno::XInterface> createInstance( css::uno::Reference<css::uno::XComponentContext> const & |