ofz#887 support avoiding reading config
Change-Id: Ic7e0e65b15c7b6a01a10d6004230ad71a2d439d2
This commit is contained in:
@@ -29,6 +29,7 @@ $(eval $(call gb_Library_use_libraries,canvasfactory,\
|
||||
cppu \
|
||||
cppuhelper \
|
||||
sal \
|
||||
utl \
|
||||
vcl \
|
||||
$(gb_UWINAPI) \
|
||||
))
|
||||
|
@@ -43,6 +43,7 @@
|
||||
#if HAVE_FEATURE_OPENGL
|
||||
#include <vcl/opengl/OpenGLWrapper.hxx>
|
||||
#endif
|
||||
#include <unotools/configmgr.hxx>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using namespace ::com::sun::star::uno;
|
||||
@@ -122,6 +123,8 @@ CanvasFactory::CanvasFactory( Reference<XComponentContext> const & xContext ) :
|
||||
m_bCacheHasForcedLastImpl(),
|
||||
m_bCacheHasUseAcceleratedEntry(),
|
||||
m_bCacheHasUseAAEntry()
|
||||
{
|
||||
if (!utl::ConfigManager::IsAvoidConfig())
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -191,6 +194,7 @@ CanvasFactory::CanvasFactory( Reference<XComponentContext> const & xContext ) :
|
||||
catch (const Exception&)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
if (m_aAvailableImplementations.empty())
|
||||
{
|
||||
|
Reference in New Issue
Block a user