Kaydet (Commit) 01f43039 authored tarafından Andrzej Hunt's avatar Andrzej Hunt

LOK: use solar mutex for setPart.

Needed e.g. for changing slides in impress.

Change-Id: I2f5de40d4efbacde910e27225768979a98ff1c0a
üst d27a1405
...@@ -462,7 +462,11 @@ static void doc_setPart(LibreOfficeKitDocument* pThis, int nPart) ...@@ -462,7 +462,11 @@ static void doc_setPart(LibreOfficeKitDocument* pThis, int nPart)
return; return;
} }
Application::AcquireSolarMutex(1);
{
pDoc->setPart( nPart ); pDoc->setPart( nPart );
}
Application::ReleaseSolarMutex();
} }
void doc_paintTile (LibreOfficeKitDocument* pThis, void doc_paintTile (LibreOfficeKitDocument* pThis,
......
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