Kaydet (Commit) 4d73205a authored tarafından Eike Rathke's avatar Eike Rathke

strip now obsolete comment part

... but keep the SdrDelayBroadcastObjectChange as it still serves during
copying notes/captions.

Change-Id: I8cf6a8045238af8d196a304ca4dfe20d4e407624
üst 19049550
......@@ -640,9 +640,7 @@ void ScPostIt::CreateCaptionFromInitData( const ScAddress& rPos ) const
ScNoteCaptionCreator aCreator( mrDoc, rPos, maNoteData );
if( maNoteData.mpCaption )
{
// Prevent triple change broadcasts of the same object, which
// during Save triggered by ScDocument::CreateAllNoteCaptions()
// creates a major performance bottleneck.
// Prevent triple change broadcasts of the same object.
SdrDelayBroadcastObjectChange aDelayChange( *maNoteData.mpCaption);
ScCaptionInitData& rInitData = *maNoteData.mxInitData;
......
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