From c123d7c2a0a76283413b7bc39a659ef66fa4fadc Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 9 Apr 2014 12:29:56 +0200 Subject: [PATCH] -Werror=deprecated-declarations (on Debian, reportedly) Change-Id: I3d766025a85d1c5c7f3f48d39e73117d18c636ae --- vcl/unx/gtk/a11y/atkimage.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vcl/unx/gtk/a11y/atkimage.cxx b/vcl/unx/gtk/a11y/atkimage.cxx index 524a26895c59..347103254564 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" ); }