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

Stephan Bergmann sbergman at redhat.com
Wed Apr 9 03:30:48 PDT 2014


 vcl/unx/gtk/a11y/atkimage.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit c123d7c2a0a76283413b7bc39a659ef66fa4fadc
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Apr 9 12:29:56 2014 +0200

    -Werror=deprecated-declarations (on Debian, reportedly)
    
    Change-Id: I3d766025a85d1c5c7f3f48d39e73117d18c636ae

diff --git a/vcl/unx/gtk/a11y/atkimage.cxx b/vcl/unx/gtk/a11y/atkimage.cxx
index 524a268..3471032 100644
--- a/vcl/unx/gtk/a11y/atkimage.cxx
+++ b/vcl/unx/gtk/a11y/atkimage.cxx
@@ -81,7 +81,11 @@ image_get_image_position( AtkImage     *image,
 {
     *x = *y = 0;
     if( ATK_IS_COMPONENT( image ) )
+    {
+        SAL_WNODEPRECATED_DECLARATIONS_PUSH
         atk_component_get_position( ATK_COMPONENT( image ), x, y, coord_type );
+        SAL_WNODEPRECATED_DECLARATIONS_POP
+    }
     else
         g_warning( "FIXME: no image position information" );
 }


More information about the Libreoffice-commits mailing list