Kaydet (Commit) 6ee8e0eb authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Fix OutputDevice::Pop

Change-Id: Iaaf19c01dc4ec10c72a66dac35ac64e37766d08e
üst f5dc536e
......@@ -347,7 +347,6 @@ void OutputDevice::Pop()
mpMetaFile->AddAction( new MetaPopAction() );
GDIMetaFile* pOldMetaFile = mpMetaFile;
OutDevState* pState = new OutDevState;
mpMetaFile = NULL;
if ( mpOutDevStateStack->empty() )
......@@ -355,6 +354,7 @@ void OutputDevice::Pop()
SAL_WARN( "vcl.gdi", "OutputDevice::Pop() without OutputDevice::Push()" );
return;
}
OutDevState* pState = mpOutDevStateStack->top();
if( mpAlphaVDev )
mpAlphaVDev->Pop();
......
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