summaryrefslogtreecommitdiff
path: root/fpicker/source/office/iodlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/source/office/iodlg.cxx')
-rw-r--r--fpicker/source/office/iodlg.cxx35
1 files changed, 0 insertions, 35 deletions
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx
index 3c9df7d4c180..b3db6975ccc0 100644
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -325,41 +325,6 @@ namespace
}
//---------------------------------------------------------------------
- void convertStringListToUrls( const rtl::OUString& _rColonSeparatedList, ::std::vector< String >& _rTokens )
- {
- const sal_Unicode cSeparator =
-#if defined(WNT)
- ';'
-#else
- ':'
-#endif
- ;
- sal_Int32 nIndex = 0;
- do
- {
- // the current token in the list
- rtl::OUString sCurrentToken = _rColonSeparatedList.getToken( 0, cSeparator, nIndex );
- if ( !sCurrentToken.isEmpty() )
- {
- INetURLObject aCurrentURL;
-
- rtl::OUString sURL;
- if ( ::utl::LocalFileHelper::ConvertPhysicalNameToURL( sCurrentToken, sURL ) )
- aCurrentURL = INetURLObject( sURL );
- else
- {
- // smart URL parsing, assuming FILE protocol
- aCurrentURL = INetURLObject( sCurrentToken, INET_PROT_FILE );
- }
-
- aCurrentURL.removeFinalSlash( );
- _rTokens.push_back( aCurrentURL.GetMainURL( INetURLObject::NO_DECODE ) );
- }
- }
- while ( nIndex >= 0 );
- }
-
- //---------------------------------------------------------------------
struct RemoveFinalSlash : public ::std::unary_function< String, void >
{
void operator()( String& _rURL )