Kaydet (Commit) 1e28d790 authored tarafından Michael Stahl's avatar Michael Stahl

SwXReferenceMarks::GetObject() has no need for a mutex guard

Change-Id: Icc6b0eebf57b07f06bccc9a57036f0611a67c4a3
üst e7c96f3e
...@@ -1986,8 +1986,6 @@ sal_Bool SwXReferenceMarks::hasElements(void) throw( uno::RuntimeException, std: ...@@ -1986,8 +1986,6 @@ sal_Bool SwXReferenceMarks::hasElements(void) throw( uno::RuntimeException, std:
SwXReferenceMark* SwXReferenceMarks::GetObject( SwDoc* pDoc, const SwFmtRefMark* pMark ) SwXReferenceMark* SwXReferenceMarks::GetObject( SwDoc* pDoc, const SwFmtRefMark* pMark )
{ {
SolarMutexGuard aGuard;
return SwXReferenceMark::CreateXReferenceMark( return SwXReferenceMark::CreateXReferenceMark(
*pDoc, *const_cast<SwFmtRefMark*>(pMark)); *pDoc, *const_cast<SwFmtRefMark*>(pMark));
} }
......
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