summaryrefslogtreecommitdiff
path: root/svx/source/unodraw/unoshtxt.cxx
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2016-11-22 09:07:54 +0100
committerDavid Tardon <dtardon@redhat.com>2016-11-22 21:37:17 +0100
commit2ad50c9a8c8411a57bbbd7a52734e72ffc4cc0ee (patch)
tree7b37580b61d7d29d4545941cbac38318df423c87 /svx/source/unodraw/unoshtxt.cxx
parentab9c578ed17cfd9c9a49f22d83f33b0546faedba (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/source/unodraw/unoshtxt.cxx')
-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 cda12f763730..3a5705f64508 100644
--- a/svx/source/unodraw/unoshtxt.cxx
+++ b/svx/source/unodraw/unoshtxt.cxx
@@ -589,6 +589,7 @@ SvxTextForwarder* SvxTextEditSourceImpl::GetBackgroundTextForwarder()
bCreated = true;
mbForwarderIsEditMode = false;
+ mbDataValid = false;
}
if( mpObject && mpText && !mbDataValid && mpObject->IsInserted() && mpObject->GetPage() )