diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/postit.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/core/data/postit.cxx b/sc/source/core/data/postit.cxx index d0ac658f3e35..9ccb6c31a8f5 100644 --- a/sc/source/core/data/postit.cxx +++ b/sc/source/core/data/postit.cxx @@ -382,6 +382,9 @@ void ScCaptionCreator::CreateCaption( bool bShown, bool bTailFront ) *mrDoc.GetDrawLayer(), // TTTT should ret a ref? aTextRect, aTailPos)); + // tdf#114956 a way to recognize that this SdrCaption is for a ScPostit in + // SdrTextObj::AdjustTextFrameWidthAndHeight + mxCaption->SetName("ScPostIt"); // basic caption settings ScCaptionUtil::SetBasicCaptionSettings( *mxCaption, bShown ); } |