summaryrefslogtreecommitdiffstats
path: root/shell/source/backends/desktopbe/desktopbackend.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'shell/source/backends/desktopbe/desktopbackend.cxx')
-rw-r--r--shell/source/backends/desktopbe/desktopbackend.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/shell/source/backends/desktopbe/desktopbackend.cxx b/shell/source/backends/desktopbe/desktopbackend.cxx
index bdc45e737687..a214b08edb18 100644
--- a/shell/source/backends/desktopbe/desktopbackend.cxx
+++ b/shell/source/backends/desktopbe/desktopbackend.cxx
@@ -213,7 +213,13 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance(
rtl::OUString(
RTL_CONSTASCII_USTRINGPARAM(
"com.sun.star.configuration.backend.KDEBackend")));
- } //TODO: KDE4?
+ } else if (desktop.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("KDE4"))) {
+ backend = createBackend(
+ context,
+ rtl::OUString(
+ RTL_CONSTASCII_USTRINGPARAM(
+ "com.sun.star.configuration.backend.KDE4Backend")));
+ }
return backend.is()
? backend : static_cast< cppu::OWeakObject * >(new Default);
}