summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/a11y/atkhypertext.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-31 13:17:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-03-31 13:17:42 +0200
commit62e798c4a520a8b96e9113e363b1f26767231636 (patch)
tree7e0003b646bd68af83443890244dec1371499de7 /vcl/unx/gtk/a11y/atkhypertext.cxx
parent9676efca531290ebde3839c5246abdde159499cf (diff)
Reduce to static_cast any reinterpret_cast from void pointers
Change-Id: I65d76524847b57dcb17ee3f66e156ec1fd51b239
Diffstat (limited to 'vcl/unx/gtk/a11y/atkhypertext.cxx')
-rw-r--r--vcl/unx/gtk/a11y/atkhypertext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk/a11y/atkhypertext.cxx b/vcl/unx/gtk/a11y/atkhypertext.cxx
index 6b6b4199d8ae..909ee30a8063 100644
--- a/vcl/unx/gtk/a11y/atkhypertext.cxx
+++ b/vcl/unx/gtk/a11y/atkhypertext.cxx
@@ -200,7 +200,7 @@ static accessibility::XAccessibleHypertext*
if( !pWrap->mpHypertext && pWrap->mpContext )
{
uno::Any any = pWrap->mpContext->queryInterface( cppu::UnoType<accessibility::XAccessibleHypertext>::get() );
- pWrap->mpHypertext = reinterpret_cast< accessibility::XAccessibleHypertext * > (any.pReserved);
+ pWrap->mpHypertext = static_cast< accessibility::XAccessibleHypertext * > (any.pReserved);
pWrap->mpHypertext->acquire();
}