From 11c71842f6d73f80cc40d2752421eec9af40bb51 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 21 May 2011 16:26:08 +0300 Subject: Drop OS2 --- fpicker/source/office/iodlg.cxx | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'fpicker/source/office') diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index bda16353eb34..b98b68beedb7 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -329,7 +329,7 @@ namespace void convertStringListToUrls( const String& _rColonSeparatedList, ::std::vector< String >& _rTokens, bool _bFinalSlash ) { const sal_Unicode s_cSeparator = -#if defined(WNT) || defined(OS2) +#if defined(WNT) ';' #else ':' @@ -369,7 +369,7 @@ namespace void operator()( String& _rURL ) { INetURLObject aURL( _rURL ); -#if defined(WNT) || defined(OS2) +#if defined(WNT) if ( aURL.getSegmentCount() > 1 ) #endif aURL.removeFinalSlash( ); @@ -2563,7 +2563,7 @@ sal_Bool SvtFileDialog::IsolateFilterFromPath_Impl( String& rPath, String& rFilt if ( nPathTokenPos == STRING_NOTFOUND ) { String aDelim( -#if defined(WNT) || defined(OS2) +#if defined(WNT) '\\' #else '/' @@ -2571,12 +2571,6 @@ sal_Bool SvtFileDialog::IsolateFilterFromPath_Impl( String& rPath, String& rFilt ); nPathTokenPos = aReversePath.Search( aDelim ); -#if defined(OS2) - if ( nPathTokenPos == STRING_NOTFOUND ) - { - nPathTokenPos = aReversePath.Search( '/' ); - } -#endif #if !defined( UNX ) if ( nPathTokenPos == STRING_NOTFOUND ) { -- cgit