Kaydet (Commit) 3d0618db authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Clean up ~SwXAutoTextEntry

The "DocShell must be cleared..." comment was a leftover from
2613afee "INTEGRATION: CWS sw008", pertained to
code that had been moved into implFlushDocument.  The extra code block and
accompanying "Thus, an own block..." comment are just nonsense.

Change-Id: I7e60b488c609796d86bedf518218b06c612e494d
üst bde8054e
......@@ -728,17 +728,10 @@ SwXAutoTextEntry::SwXAutoTextEntry(SwGlossaries* pGlss, const OUString& rGroupNa
SwXAutoTextEntry::~SwXAutoTextEntry()
{
{
SolarMutexGuard aGuard;
// ensure that any pending modifications are written
implFlushDocument( true );
SolarMutexGuard aGuard;
//! Bug #96559
// DocShell must be cleared before mutex is lost.
// Needs to be done explicitly since xDocSh is a class member.
// Thus, an own block here, guarded by the SolarMutex
}
// ensure that any pending modifications are written
implFlushDocument( true );
}
void SwXAutoTextEntry::implFlushDocument( bool _bCloseDoc )
......
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