[Libreoffice-commits] core.git: svx/source

David Tardon dtardon at redhat.com
Tue Nov 22 20:37:56 UTC 2016


 svx/source/unodraw/unoshtxt.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 2ad50c9a8c8411a57bbbd7a52734e72ffc4cc0ee
Author: David Tardon <dtardon at redhat.com>
Date:   Tue Nov 22 09:07:54 2016 +0100

    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

diff --git a/svx/source/unodraw/unoshtxt.cxx b/svx/source/unodraw/unoshtxt.cxx
index cda12f7..3a5705f 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() )


More information about the Libreoffice-commits mailing list