Kaydet (Commit) 87b2bc2c authored tarafından Matúš Kukan's avatar Matúš Kukan

Use static for this getenv call too.

Change-Id: Ieb8dd13763c6d5e6d30ce641683de79d89d135df
üst 58b46086
...@@ -291,7 +291,8 @@ SalFrame* ImplSalCreateFrame( WinSalInstance* pInst, ...@@ -291,7 +291,8 @@ SalFrame* ImplSalCreateFrame( WinSalInstance* pInst,
DWORD nExSysStyle = 0; DWORD nExSysStyle = 0;
sal_Bool bSubFrame = FALSE; sal_Bool bSubFrame = FALSE;
if( getenv( "SAL_SYNCHRONIZE" ) ) // no buffering of drawing commands static const char* pEnvSynchronize = getenv("SAL_SYNCHRONIZE");
if ( pEnvSynchronize ) // no buffering of drawing commands
GdiSetBatchLimit( 1 ); GdiSetBatchLimit( 1 );
static const char* pEnvTransparentFloats = getenv("SAL_TRANSPARENT_FLOATS" ); static const char* pEnvTransparentFloats = getenv("SAL_TRANSPARENT_FLOATS" );
......
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