summaryrefslogtreecommitdiff
path: root/cppuhelper/source/servicemanager.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-20 23:30:49 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-20 23:30:49 +0100
commit585d5621f17f0e70ae5bd2ad0a855ba8490d3b25 (patch)
tree5612316bff6c216e687de46f035a46e80b7b879e /cppuhelper/source/servicemanager.hxx
parent8804d3a63ae25d9211b3bf64d764c4eb4bd6c132 (diff)
Simplify code; STATUS_LOADED => component||factory1||factory2
Change-Id: I661eb69551eae3d888d156c6bd4291a532d0b6ab
Diffstat (limited to 'cppuhelper/source/servicemanager.hxx')
-rw-r--r--cppuhelper/source/servicemanager.hxx2
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 &