1ea7e70
From 100b3b7972c2a0cf341aa97971f5d7c9d1a0b68b Mon Sep 17 00:00:00 2001
1ea7e70
From: David Tardon <dtardon@redhat.com>
1ea7e70
Date: Tue, 22 Nov 2016 09:07:54 +0100
1ea7e70
Subject: [PATCH] avoid loss of text in edited placeholder
1ea7e70
1ea7e70
How to reproduce:
1ea7e70
1. Create an empty presentation.
1ea7e70
2. Save it.
1ea7e70
3. Click at one of the text placeholders and write something.
1ea7e70
4. Save again.
1ea7e70
5. Reload. The placeholder is missing. (Actually, it's still there, but
1ea7e70
   empty and 0-size.)
1ea7e70
1ea7e70
This only happens if a11y is enabled.
1ea7e70
1ea7e70
Change-Id: I7ae3d3c6ab0ce91aef01c0e9d62f7963dce965fc
1ea7e70
---
1ea7e70
 svx/source/unodraw/unoshtxt.cxx | 1 +
1ea7e70
 1 file changed, 1 insertion(+)
1ea7e70
1ea7e70
diff --git a/svx/source/unodraw/unoshtxt.cxx b/svx/source/unodraw/unoshtxt.cxx
1ea7e70
index cda12f7..3a5705f 100644
1ea7e70
--- a/svx/source/unodraw/unoshtxt.cxx
1ea7e70
+++ b/svx/source/unodraw/unoshtxt.cxx
1ea7e70
@@ -589,6 +589,7 @@ SvxTextForwarder* SvxTextEditSourceImpl::GetBackgroundTextForwarder()
1ea7e70
         bCreated = true;
1ea7e70
 
1ea7e70
         mbForwarderIsEditMode = false;
1ea7e70
+        mbDataValid = false;
1ea7e70
     }
1ea7e70
 
1ea7e70
     if( mpObject && mpText && !mbDataValid && mpObject->IsInserted() && mpObject->GetPage() )
1ea7e70
-- 
1ea7e70
2.9.3
1ea7e70