/[packages]/updates/5/libreoffice/current/SOURCES/0001-avoid-loss-of-text-in-edited-placeholder.patch
ViewVC logotype

Contents of /updates/5/libreoffice/current/SOURCES/0001-avoid-loss-of-text-in-edited-placeholder.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1142874 - (show annotations) (download)
Tue Aug 22 07:52:48 2017 UTC (6 years, 7 months ago) by neoclust
File size: 1099 byte(s)
New version 5.2.4
1 From 100b3b7972c2a0cf341aa97971f5d7c9d1a0b68b Mon Sep 17 00:00:00 2001
2 From: David Tardon <dtardon@redhat.com>
3 Date: Tue, 22 Nov 2016 09:07:54 +0100
4 Subject: [PATCH] avoid loss of text in edited placeholder
5
6 How to reproduce:
7 1. Create an empty presentation.
8 2. Save it.
9 3. Click at one of the text placeholders and write something.
10 4. Save again.
11 5. Reload. The placeholder is missing. (Actually, it's still there, but
12 empty and 0-size.)
13
14 This only happens if a11y is enabled.
15
16 Change-Id: I7ae3d3c6ab0ce91aef01c0e9d62f7963dce965fc
17 ---
18 svx/source/unodraw/unoshtxt.cxx | 1 +
19 1 file changed, 1 insertion(+)
20
21 diff --git a/svx/source/unodraw/unoshtxt.cxx b/svx/source/unodraw/unoshtxt.cxx
22 index cda12f7..3a5705f 100644
23 --- a/svx/source/unodraw/unoshtxt.cxx
24 +++ b/svx/source/unodraw/unoshtxt.cxx
25 @@ -589,6 +589,7 @@ SvxTextForwarder* SvxTextEditSourceImpl::GetBackgroundTextForwarder()
26 bCreated = true;
27
28 mbForwarderIsEditMode = false;
29 + mbDataValid = false;
30 }
31
32 if( mpObject && mpText && !mbDataValid && mpObject->IsInserted() && mpObject->GetPage() )
33 --
34 2.9.3
35

  ViewVC Help
Powered by ViewVC 1.1.30