summaryrefslogtreecommitdiff
path: root/configmgr/source/components.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr/source/components.cxx')
-rw-r--r--configmgr/source/components.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/configmgr/source/components.cxx b/configmgr/source/components.cxx
index dc0c4be5a4e7..4b1eaeabfeaf 100644
--- a/configmgr/source/components.cxx
+++ b/configmgr/source/components.cxx
@@ -36,6 +36,7 @@
#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/uno/XInterface.hpp>
+#include <config_dconf.h>
#include <config_folders.h>
#include <osl/conditn.hxx>
#include <osl/file.hxx>
@@ -64,6 +65,10 @@
#include "xcuparser.hxx"
#include "xcsparser.hxx"
+#if ENABLE_DCONF
+#include <readdconflayer.hxx>
+#endif
+
#if defined WNT
#include "winreg.hxx"
#endif
@@ -522,6 +527,15 @@ Components::Components(
parseResLayer(layer, url);
SAL_INFO("configmgr", "parseResLayer() took " << (osl_getGlobalTimer() - nStartTime) << " ms");
++layer; //TODO: overflow
+#if ENABLE_DCONF
+ } else if (type == "dconf") {
+ if (!url.isEmpty()) {
+ throw css::uno::RuntimeException(
+ "CONFIGURATION_LAYERS: non-empty \"dconf\" URL");
+ }
+ readDconfLayer(data_, layer);
+ ++layer; //TODO: overflow
+#endif
#if defined WNT
} else if (type == "winreg") {
if (!url.isEmpty()) {