summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-05-14 19:07:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-05-14 19:14:34 +0200
commit03535b91605ae0cfdf3be5eb2dfdf5de5374bdb2 (patch)
tree20d1abc873bd805b28d94004f6d20874b5fc4721 /desktop
parent09c20b2f623e2271a3ab9eb82c2419a8951320c1 (diff)
Remove obsolete RestrictedPath env var support
Change-Id: Ia4ea7d60d7b69c863c1e891887060265e73e1cb6
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/app.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 2f0ecf6993cb..e9437fe5fbd8 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -85,7 +85,6 @@
#include <unotools/pathoptions.hxx>
#include <svtools/miscopt.hxx>
#include <svtools/menuoptions.hxx>
-#include <svl/folderrestriction.hxx>
#include <rtl/logfile.hxx>
#include <rtl/bootstrap.hxx>
#include <vcl/help.hxx>
@@ -1517,18 +1516,6 @@ int Desktop::Main()
SetSplashScreenProgress(40);
RTL_LOGFILE_CONTEXT_TRACE( aLog, "} create SvtPathOptions and SvtLanguageOptions" );
- // Check special env variable
- std::vector< String > aUnrestrictedFolders;
- svt::getUnrestrictedFolders( aUnrestrictedFolders );
-
- if ( !aUnrestrictedFolders.empty() )
- {
- // Set different working directory. The first entry is
- // the new work path.
- String aWorkPath = aUnrestrictedFolders[0];
- SvtPathOptions().SetWorkPath( aWorkPath );
- }
-
xDesktop = css::frame::Desktop::create( xContext );
// create service for loadin SFX (still needed in startup)