Update ooo320-m1
[ooovba.git] / applied_patches / 0113-unxsplash-new-osl-pipe-slot.diff
bloba312280ef27ec114c6b2f754f8de6287a232280e
1 diff --git desktop/unx/source/start.c desktop/unx/source/start.c
2 index 95435a3..f7b762e 100644
3 --- desktop/unx/source/start.c
4 +++ desktop/unx/source/start.c
5 @@ -331,7 +331,8 @@ send_args( int fd, rtl_uString *pCwdPath )
7 // this is not a param, we have to prepend filenames with file://
8 // FIXME: improve the check
9 - if ( pTmp->buffer[0] != (sal_Unicode)'-' )
10 + if ( ( pTmp->buffer[0] != (sal_Unicode)'-' ) &&
11 + ( rtl_ustr_indexOfAscii_WithLength( pTmp->buffer, pTmp->length, "slot:", 5 /* length */ ) ) )
13 sal_Int32 nFirstColon = rtl_ustr_indexOfChar_WithLength( pTmp->buffer, pTmp->length, ':' );
14 sal_Int32 nFirstSlash = rtl_ustr_indexOfChar_WithLength( pTmp->buffer, pTmp->length, '/' );