Use --splash-pipe instead of -splash-pipe.
This commit is contained in:
parent
be52cfe452
commit
29d8d1f32d
2 changed files with 4 additions and 4 deletions
|
@ -685,7 +685,7 @@ fork_app( rtl_uString *pAppPath, int *status_fd )
|
|||
sal_Unicode pUnicode[RTL_USTR_MAX_VALUEOFINT32];
|
||||
rtl_ustr_valueOfInt32( pUnicode, status_pipe[1], 10 );
|
||||
|
||||
rtl_uString_newFromAscii( &pArg, "-splash-pipe=" );
|
||||
rtl_uString_newFromAscii( &pArg, "--splash-pipe=" );
|
||||
rtl_uString_newFromStr( &pTmp, pUnicode );
|
||||
rtl_uString_newConcat( &pArg, pArg, pTmp );
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
#include <rtl/ustrbuf.hxx>
|
||||
#include <rtl/math.hxx>
|
||||
|
||||
#define PIPE_ARG "-splash-pipe="
|
||||
#define PIPE_ARG "--splash-pipe="
|
||||
|
||||
using namespace ::rtl;
|
||||
using namespace ::com::sun::star::registry;
|
||||
|
@ -103,7 +103,7 @@ void SAL_CALL UnxSplashScreen::setValue( sal_Int32 nValue )
|
|||
{
|
||||
if ( m_pOutFd )
|
||||
{
|
||||
fprintf( m_pOutFd, "%d%%\n", nValue );
|
||||
fprintf( m_pOutFd, "%ld%%\n", nValue );
|
||||
fflush( m_pOutFd );
|
||||
}
|
||||
}
|
||||
|
@ -124,7 +124,7 @@ UnxSplashScreen::initialize( const ::com::sun::star::uno::Sequence< ::com::sun::
|
|||
int fd = aNum.toInt32();
|
||||
m_pOutFd = fdopen( fd, "w" );
|
||||
#if OSL_DEBUG_LEVEL > 1
|
||||
fprintf( stderr, "Got argument '-splash-pipe=%d ('%s') (%p)\n",
|
||||
fprintf( stderr, "Got argument '--splash-pipe=%d ('%s') (%p)\n",
|
||||
fd, (const sal_Char *)rtl::OUStringToOString( aNum, RTL_TEXTENCODING_UTF8 ),
|
||||
m_pOutFd );
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue