summaryrefslogtreecommitdiffstats
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.cxx12
1 files changed, 3 insertions, 9 deletions
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 )
{