summaryrefslogtreecommitdiffstats
path: root/shell/source/unix/sysshell/recently_used_file_handler.cxx
diff options
context:
space:
mode:
authorPhilipp Lohmann <Philipp.Lohmann@Sun.COM>2009-10-28 13:31:14 +0100
committerPhilipp Lohmann <Philipp.Lohmann@Sun.COM>2009-10-28 13:31:14 +0100
commitb72f59d414a398e3c64f1723f76e7dbaa5d73792 (patch)
treeaa8cb89fe4dd501a4d1f0d1b749a64c15dd96934 /shell/source/unix/sysshell/recently_used_file_handler.cxx
parentCreate DEV300_m62 milestone tag from trunk@277034 (diff)
downloadcore-b72f59d414a398e3c64f1723f76e7dbaa5d73792.tar.gz
core-b72f59d414a398e3c64f1723f76e7dbaa5d73792.zip
#i106374# clean up dead code (thanks cmc)
Diffstat (limited to 'shell/source/unix/sysshell/recently_used_file_handler.cxx')
-rw-r--r--shell/source/unix/sysshell/recently_used_file_handler.cxx20
1 files changed, 0 insertions, 20 deletions
diff --git a/shell/source/unix/sysshell/recently_used_file_handler.cxx b/shell/source/unix/sysshell/recently_used_file_handler.cxx
index faf8118d7f8d..80d22501ed46 100644
--- a/shell/source/unix/sysshell/recently_used_file_handler.cxx
+++ b/shell/source/unix/sysshell/recently_used_file_handler.cxx
@@ -49,18 +49,6 @@
#include <string.h>
namespace /* private */ {
-
- const rtl::OUString ENVV_UPDATE_RECENTLY_USED =
- rtl::OUString::createFromAscii("ENABLE_UPDATE_RECENTLY_USED");
-
- //########################################
- inline rtl::OString get_file_extension(const rtl::OString& file_url)
- {
- sal_Int32 index = file_url.lastIndexOf('.');
- OSL_ENSURE((index != -1) && ((index + 1) < file_url.getLength()), "Invalid file url");
- return file_url.copy(index + 1);
- }
-
//########################################
typedef std::vector<string_t> string_container_t;
@@ -475,14 +463,6 @@ namespace /* private */ {
greater_recently_used_item());
}
- //##############################
- bool update_recently_used_enabled()
- {
- rtl::OUString tmp;
- osl_getEnvironment(ENVV_UPDATE_RECENTLY_USED.pData, &tmp.pData);
- return (tmp.getLength() > 0);
- }
-
//------------------------------------------------
struct cleanup_guard
{