LibreOffice Module sfx2 (master) 1
Namespaces | Functions
sfxmodelfactory.cxx File Reference
#include <sfx2/sfxmodelfactory.hxx>
#include <com/sun/star/beans/NamedValue.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <comphelper/namedvaluecollection.hxx>
#include <osl/diagnose.h>
#include <algorithm>
Include dependency graph for sfxmodelfactory.cxx:

Go to the source code of this file.


namespace  sfx2


css::uno::Reference< css::uno::XInterface > sfx2::createSfxModelInstance (const css::uno::Sequence< css::uno::Any > &rxArgs, std::function< css::uno::Reference< css::uno::XInterface >(SfxModelFlags)> creationFunc)
 Intended to be called from UNO constructor functions This evaluates certain creation arguments (passed to createInstanceWithArguments) and passes them to the factory function of the derived class. More...