Kaydet (Commit) 8e15df3d authored tarafından Stephan Bergmann's avatar Stephan Bergmann

bool improvements

Change-Id: I42f6d8b3e62834b0612d84586f791f25e967c9c7
üst 9548c0bd
......@@ -146,7 +146,7 @@ static void prependPythonPath( const OUString & pythonPathBootstrap )
{
OUStringBuffer bufPYTHONPATH( 256 );
sal_Int32 nIndex = 0;
while( 1 )
while( true )
{
sal_Int32 nNew = pythonPathBootstrap.indexOf( ' ', nIndex );
OUString fileUrl;
......
......@@ -261,7 +261,7 @@ PyRef stRuntimeImpl::create( const Reference< XComponentContext > &ctx )
readLoggingConfig( &(c->logLevel) , &(c->logFile) );
log( c, LogLevel::CALL, "Instantiating pyuno bridge" );
c->valid = 1;
c->valid = true;
c->xContext = ctx;
c->xInvocation = Reference< XSingleServiceFactory > (
ctx->getServiceManager()->createInstanceWithContext(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment