summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-11-19 19:32:04 +0100
committerEike Rathke <erack@redhat.com>2016-11-19 19:33:33 +0100
commit4d73205ae4227a90d2087153c6fc82a51ea513ae (patch)
treeeb84133ac3f6c78ac01e26a721b3d32bfee25f0f /sc
parent190495509e7830a5df12d002c56222209edc348d (diff)
strip now obsolete comment part
... but keep the SdrDelayBroadcastObjectChange as it still serves during copying notes/captions. Change-Id: I8cf6a8045238af8d196a304ca4dfe20d4e407624
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/postit.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/core/data/postit.cxx b/sc/source/core/data/postit.cxx
index 623a19913dc9..27dfb65113be 100644
--- a/sc/source/core/data/postit.cxx
+++ b/sc/source/core/data/postit.cxx
@@ -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;