diff options
author | Daniel Rentz <dr@openoffice.org> | 2009-11-24 13:41:47 +0000 |
---|---|---|
committer | Daniel Rentz <dr@openoffice.org> | 2009-11-24 13:41:47 +0000 |
commit | e4f41f75acdebc7885377d476606fd5ffbfa8e0d (patch) | |
tree | 21b7168cf7a63b7861cd3a443ba3a884464bb297 /vcl/unx/gtk/a11y | |
parent | f8ada8f2a93659e27928f3b5244c813de2c3847b (diff) |
#i107075# check interface pointer, XAxccessibleTextMarkup is not implemented in Calc
Diffstat (limited to 'vcl/unx/gtk/a11y')
-rw-r--r-- | vcl/unx/gtk/a11y/atktext.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/unx/gtk/a11y/atktext.cxx b/vcl/unx/gtk/a11y/atktext.cxx index 8d83ca008e4a..f6755deb60b5 100644 --- a/vcl/unx/gtk/a11y/atktext.cxx +++ b/vcl/unx/gtk/a11y/atktext.cxx @@ -188,7 +188,8 @@ static accessibility::XAccessibleTextMarkup* { uno::Any any = pWrap->mpContext->queryInterface( accessibility::XAccessibleTextMarkup::static_type(NULL) ); pWrap->mpTextMarkup = reinterpret_cast< accessibility::XAccessibleTextMarkup * > (any.pReserved); - pWrap->mpTextMarkup->acquire(); + if( pWrap->mpTextMarkup ) + pWrap->mpTextMarkup->acquire(); } return pWrap->mpTextMarkup; |