[Libreoffice-commits] core.git: vcl/unx

Caolán McNamara caolanm at redhat.com
Thu Jul 21 14:05:36 UTC 2016


 vcl/unx/gtk/a11y/atklistener.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit aaa5a098f4a3644a6f78cafa1c86f1db12c4f6ed
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Jul 21 15:04:19 2016 +0100

    memset hammer for -Werror=missing-field-initializers
    
    Change-Id: I025bc48edad9fd0275f264a71e13dacd4c5bcc96

diff --git a/vcl/unx/gtk/a11y/atklistener.cxx b/vcl/unx/gtk/a11y/atklistener.cxx
index 9798018..da4ce0e 100644
--- a/vcl/unx/gtk/a11y/atklistener.cxx
+++ b/vcl/unx/gtk/a11y/atklistener.cxx
@@ -529,7 +529,8 @@ void AtkListener::notifyEvent( const accessibility::AccessibleEventObject& aEven
             accessibility::AccessibleTableModelChange aChange;
             aEvent.NewValue >>= aChange;
 
-            AtkPropertyValues values = {};
+            AtkPropertyValues values;
+            memset(&values,  0, sizeof(AtkPropertyValues));
             g_value_init (&values.new_value, G_TYPE_INT);
             values.property_name = "accessible-table-column-header";
 


More information about the Libreoffice-commits mailing list