Update ooo320-m1
[ooovba.git] / applied_patches / 0116-unxsplash-3layer.diff
blob94c1717640e38c5299a84e07cf0d08623d270cf6
1 diff --git desktop/unx/source/start.c desktop/unx/source/start.c
2 index f7b762e..db99293 100644
3 --- desktop/unx/source/start.c
4 +++ desktop/unx/source/start.c
5 @@ -315,6 +315,21 @@ send_args( int fd, rtl_uString *pCwdPath )
6 rtl_uString_getLength( pBuffer ),
7 RTL_CONSTASCII_STRINGPARAM( "InternalIPC::Arguments" ) );
9 + if ( rtl_uString_getLength( pEscapedCwdPath ) )
10 + {
11 + rtl_uStringbuffer_insert_ascii( &pBuffer, &nCapacity,
12 + rtl_uString_getLength( pBuffer ),
13 + RTL_CONSTASCII_STRINGPARAM( "1" ) );
14 + rtl_uStringbuffer_insert( &pBuffer, &nCapacity,
15 + rtl_uString_getLength( pBuffer ),
16 + rtl_uString_getStr( pEscapedCwdPath ),
17 + rtl_uString_getLength( pEscapedCwdPath ) );
18 + }
19 + else
20 + rtl_uStringbuffer_insert_ascii( &pBuffer, &nCapacity,
21 + rtl_uString_getLength( pBuffer ),
22 + RTL_CONSTASCII_STRINGPARAM( "0" ) );
24 sal_Bool bDontConvertNext = sal_False;
25 sal_uInt32 nArg;
26 sal_uInt32 nArgCount = osl_getCommandArgCount();