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 ) )
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 ) );
20 + rtl_uStringbuffer_insert_ascii( &pBuffer, &nCapacity,
21 + rtl_uString_getLength( pBuffer ),
22 + RTL_CONSTASCII_STRINGPARAM( "0" ) );
24 sal_Bool bDontConvertNext = sal_False;
26 sal_uInt32 nArgCount = osl_getCommandArgCount();