[ooo-build-commit] Branch 'ooo/OOO320' - vcl/unx

Jan Holesovsky kendy at kemper.freedesktop.org
Fri Jan 15 19:01:23 PST 2010


 vcl/unx/gtk/a11y/atkutil.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c1b8ec340dffd4cf1be585dd2c173479bf1475ab
Author: Oliver Bolte <obo at openoffice.org>
Date:   Fri Jan 15 12:31:45 2010 +0000

    #i108331# accessibility, crash, regression

diff --git a/vcl/unx/gtk/a11y/atkutil.cxx b/vcl/unx/gtk/a11y/atkutil.cxx
index 5206c8c..f15f7f1 100644
--- a/vcl/unx/gtk/a11y/atkutil.cxx
+++ b/vcl/unx/gtk/a11y/atkutil.cxx
@@ -95,7 +95,7 @@ atk_wrapper_focus_idle_handler (gpointer data)
             // also emit state-changed:focused event under the same condition.
             {
                 AtkObjectWrapper* wrapper_obj = ATK_OBJECT_WRAPPER (atk_obj);
-                if( !wrapper_obj->mpText && wrapper_obj->mpContext )
+                if( wrapper_obj && (!wrapper_obj->mpText && wrapper_obj->mpContext) )
                 {
                     uno::Any any = wrapper_obj->mpContext->queryInterface( accessibility::XAccessibleText::static_type(NULL) );
                     if ( typelib_TypeClass_INTERFACE == any.pType->eTypeClass &&


More information about the ooo-build-commit mailing list