diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-11-18 17:09:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-11-19 09:49:48 +0100 |
commit | 2f7b5634487ac3d27777ab12a57089e71ea5216d (patch) | |
tree | a1821126e4dd9399f41ebe561cc8406df5ae8597 /sc | |
parent | 4198d04df49cff31f509b219293e5e18f7499e05 (diff) |
Resolves: tdf#114956 skip broadcast optimization for ScPostIts
so we can resize the ScPostIt as was the case before
commit f06b48a5dddab20fd1bbf9b5f3e8543593f5e590
Date: Fri Aug 4 18:56:43 2017 +0200
editviewoverlay: Allow EditView to run in Overlay
Change-Id: Idd92716a9b38058f6f275769d4f2523eddac500c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106069
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
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 bafd2e9e901b..f826e1d66478 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 ); } |