summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2016-11-22 09:07:54 +0100
committerJan Holesovsky <kendy@collabora.com>2017-01-04 20:44:43 +0100
commitca468b358392a16a931b4ad83d911faf152335f8 (patch)
treecb905f4ab6d1f2cd7ba4c2562c4da1efde3c397c /svx
parentf8a97266c40f4dd76290d461ddd1bafe4b785d86 (diff)
avoid loss of text in edited placeholder
How to reproduce: 1. Create an empty presentation. 2. Save it. 3. Click at one of the text placeholders and write something. 4. Save again. 5. Reload. The placeholder is missing. (Actually, it's still there, but empty and 0-size.) This only happens if a11y is enabled. Change-Id: I7ae3d3c6ab0ce91aef01c0e9d62f7963dce965fc
Diffstat (limited to 'svx')
-rw-r--r--svx/source/unodraw/unoshtxt.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/svx/source/unodraw/unoshtxt.cxx b/svx/source/unodraw/unoshtxt.cxx
index fcf13a7132d9..9d9d21734f84 100644
--- a/svx/source/unodraw/unoshtxt.cxx
+++ b/svx/source/unodraw/unoshtxt.cxx
@@ -603,6 +603,7 @@ SvxTextForwarder* SvxTextEditSourceImpl::GetBackgroundTextForwarder()
bCreated = true;
mbForwarderIsEditMode = false;
+ mbDataValid = false;
}
if( mpObject && mpText && !mbDataValid && mpObject->IsInserted() && mpObject->GetPage() )