summaryrefslogtreecommitdiff
path: root/autodoc/source/display/html/aryattrs.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'autodoc/source/display/html/aryattrs.cxx')
-rw-r--r--autodoc/source/display/html/aryattrs.cxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/autodoc/source/display/html/aryattrs.cxx b/autodoc/source/display/html/aryattrs.cxx
index 9db898370fcb..6c02675e226d 100644
--- a/autodoc/source/display/html/aryattrs.cxx
+++ b/autodoc/source/display/html/aryattrs.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: aryattrs.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: np $ $Date: 2002-03-08 14:45:22 $
+ * last change: $Author: np $ $Date: 2002-05-14 09:02:11 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -109,7 +109,11 @@ Get_TypeKey( const ary::CodeEntity & i_rCe )
bool
Ce_IsInternal( const ary::CodeEntity & i_rCe )
{
- return static_cast< const ary::info::CodeInfo& >(i_rCe.Info()).IsInternal();
+ const ary::info::CodeInfo *
+ pInfo = dynamic_cast< const ary::info::CodeInfo* >( &i_rCe.Info() );
+ return pInfo != 0
+ ? pInfo->IsInternal()
+ : false;
}
const char *