LibreOffice Module vcl (master) 1
Functions
FilterConfigCache.cxx File Reference
#include "FilterConfigCache.hxx"
#include <o3tl/safeint.hxx>
#include <vcl/graphicfilter.hxx>
#include <unotools/configmgr.hxx>
#include <tools/svlibrary.h>
#include <com/sun/star/uno/Any.h>
#include <comphelper/processfactory.hxx>
#include <comphelper/sequence.hxx>
#include <com/sun/star/uno/Exception.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/configuration/theDefaultProvider.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
Include dependency graph for FilterConfigCache.cxx:

Go to the source code of this file.

Functions

static Reference< XInterfaceopenConfig (const char *sPackage)
 helper to open the configuration root of the underlying config package More...
 

Function Documentation

◆ openConfig()

static Reference< XInterface > openConfig ( const char *  sPackage)
static

helper to open the configuration root of the underlying config package

Parameters
sPackagespecify, which config package should be opened. Must be one of "types" or "filters"
Returns
A valid object if open was successful. The access on opened data will be readonly. It returns NULL in case open failed.
Exceptions
Itlet pass RuntimeExceptions only.

Definition at line 89 of file FilterConfigCache.cxx.

References Any, Exception, and comphelper::getProcessComponentContext().

Referenced by FilterConfigCache::ImplInit().