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

Stephan Bergmann sbergman at redhat.com
Wed Oct 9 03:54:37 PDT 2013


 vcl/unx/gtk/a11y/atklistener.cxx |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

New commits:
commit 9c5a34edeee63c4d512bb47d116313469bba960d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Oct 9 12:54:14 2013 +0200

    Use SAL_WNODEPRECATED_DECLARATIONS_PUSH/POP
    
    Change-Id: I01e2067b4e410809be1278ab709a374d9a0ce314

diff --git a/vcl/unx/gtk/a11y/atklistener.cxx b/vcl/unx/gtk/a11y/atklistener.cxx
index 590fc86..f1614d8 100644
--- a/vcl/unx/gtk/a11y/atklistener.cxx
+++ b/vcl/unx/gtk/a11y/atklistener.cxx
@@ -78,10 +78,11 @@ extern "C" {
         // This is an equivalent to a state change to DEFUNC(T).
         atk_object_notify_state_change( atk_obj, ATK_STATE_DEFUNCT, TRUE );
         if( atk_get_focus_object() == atk_obj )
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+        {
+            SAL_WNODEPRECATED_DECLARATIONS_PUSH
             atk_focus_tracker_notify( NULL );
-#pragma GCC diagnostic pop
+            SAL_WNODEPRECATED_DECLARATIONS_POP
+        }
         g_object_unref( G_OBJECT( atk_obj ) );
         return FALSE;
     }


More information about the Libreoffice-commits mailing list