diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-05-14 19:07:34 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-05-14 19:14:34 +0200 |
commit | 03535b91605ae0cfdf3be5eb2dfdf5de5374bdb2 (patch) | |
tree | 20d1abc873bd805b28d94004f6d20874b5fc4721 /svtools/source/contnr/templwin.cxx | |
parent | fix filter-showIncludes (diff) | |
download | core-03535b91605ae0cfdf3be5eb2dfdf5de5374bdb2.tar.gz core-03535b91605ae0cfdf3be5eb2dfdf5de5374bdb2.zip |
Remove obsolete RestrictedPath env var support
Change-Id: Ia4ea7d60d7b69c863c1e891887060265e73e1cb6
Diffstat (limited to 'svtools/source/contnr/templwin.cxx')
-rw-r--r-- | svtools/source/contnr/templwin.cxx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/svtools/source/contnr/templwin.cxx b/svtools/source/contnr/templwin.cxx index a7ff10cc2de2..3cb54c3b2890 100644 --- a/svtools/source/contnr/templwin.cxx +++ b/svtools/source/contnr/templwin.cxx @@ -529,15 +529,7 @@ void SvtFileViewWindow_Impl::OpenFolder( const String& rURL ) rParent.SetPrevLevelButtonState( rURL ); - aFileView.SetUrlFilter( &aURLFilter ); - - INetProtocol eProt = INetURLObject( rURL ).GetProtocol(); - bIsTemplateFolder = ( eProt == INET_PROT_VND_SUN_STAR_HIER ); - bool isNewDocumentFolder = ( eProt == INET_PROT_PRIVATE ); - - aURLFilter.enableFilter( !bIsTemplateFolder && !isNewDocumentFolder ); - - if ( isNewDocumentFolder ) + if ( INetURLObject( rURL ).GetProtocol() == INET_PROT_PRIVATE ) { aFileView.EnableNameReplacing( sal_False ); aFileView.Initialize( GetNewDocContents() ); |