Kaydet (Commit) 2ad50c9a authored tarafından David Tardon's avatar David Tardon

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
üst ab9c578e
...@@ -589,6 +589,7 @@ SvxTextForwarder* SvxTextEditSourceImpl::GetBackgroundTextForwarder() ...@@ -589,6 +589,7 @@ SvxTextForwarder* SvxTextEditSourceImpl::GetBackgroundTextForwarder()
bCreated = true; bCreated = true;
mbForwarderIsEditMode = false; mbForwarderIsEditMode = false;
mbDataValid = false;
} }
if( mpObject && mpText && !mbDataValid && mpObject->IsInserted() && mpObject->GetPage() ) if( mpObject && mpText && !mbDataValid && mpObject->IsInserted() && mpObject->GetPage() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment