summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-03-22 08:34:51 +0000
committerOliver Bolte <obo@openoffice.org>2006-03-22 08:34:51 +0000
commit8b641600a8abdd986f0f4541a21430933c294ae4 (patch)
tree8855613487fcf2a0a17fdf9560b0fa148dcfd683 /shell
parent4915369b72cab9c70d89b9d49db2e42398b11c37 (diff)
INTEGRATION: CWS printsetting (1.4.40); FILE MERGED
2006/03/08 13:35:59 obr 1.4.40.1: #i50817# patch applied with minor modifications
Diffstat (limited to 'shell')
-rw-r--r--shell/source/backends/gconfbe/gconfbecdef.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/shell/source/backends/gconfbe/gconfbecdef.cxx b/shell/source/backends/gconfbe/gconfbecdef.cxx
index 1efb2d72ff86..8cbaa40639f9 100644
--- a/shell/source/backends/gconfbe/gconfbecdef.cxx
+++ b/shell/source/backends/gconfbe/gconfbecdef.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: gconfbecdef.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 19:47:01 $
+ * last change: $Author: obo $ $Date: 2006-03-22 09:34:51 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -71,18 +71,22 @@ static uno::Reference<uno::XInterface> SAL_CALL createGconfBackend(const uno::Re
if (xCurrentContext.is())
{
+#ifndef ENABLE_LOCKDOWN
uno::Any aValue = xCurrentContext->getValueByName(
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "system.desktop-environment" ) ) );
rtl::OUString aDesktopEnvironment;
if ( (aValue >>= aDesktopEnvironment) && (aDesktopEnvironment.equalsAscii("GNOME")) )
{
+#endif // ! ENABLE_LOCKDOWN
// ORBit-2 versions < 2.8 cause a deadlock with the gtk+ VCL plugin
if ( (orbit_major_version >= 2) && (orbit_minor_version >= 8) )
{
return * GconfBackend::createInstance(xContext);
}
+#ifndef ENABLE_LOCKDOWN
}
+#endif // ! ENABLE_LOCKDOWN
}
return uno::Reference<uno::XInterface>();