summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-05-14 20:09:41 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-05-14 20:09:41 -0500
commit07b3d083b49b4cbb248b5ba0aeba2bbdd3cc487d (patch)
tree5f80a6862e44b938c4e7f62f457d1b48f5a0195b /cui/source
parent007f16ef7ad40ae932df884ba04f0de71928b852 (diff)
TDE integration
Change-Id: I6f468005c8d8d99d9251a9c4fe4629b98bc4aa5e
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/options/optgdlg.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 418455e9d242..460f08af7455 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -140,6 +140,14 @@ namespace
return rtl::OUString();
#endif
}
+ else if ( rDesktopEnvironment.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("tde")) )
+ {
+ #ifdef ENABLE_TDE
+ return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.ui.dialogs.TDEFilePicker") );
+ #else
+ return rtl::OUString();
+ #endif
+ }
#if defined WNT
return ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.ui.dialogs.SystemFilePicker") );
#elif (defined MACOSX && defined QUARTZ)