summaryrefslogtreecommitdiff
path: root/svx/source/form/fmundo.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/form/fmundo.cxx')
-rw-r--r--svx/source/form/fmundo.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/fmundo.cxx b/svx/source/form/fmundo.cxx
index 9cbf5a9a7e6c..cc7ea753b31a 100644
--- a/svx/source/form/fmundo.cxx
+++ b/svx/source/form/fmundo.cxx
@@ -1089,7 +1089,7 @@ void FmUndoContainerAction::implReInsert( ) SAL_THROW( ( Exception ) )
{
// insert the element
Any aVal;
- if ( m_xContainer->getElementType() == ::getCppuType( static_cast< const Reference< XFormComponent >* >( NULL ) ) )
+ if ( m_xContainer->getElementType() == cppu::UnoType<XFormComponent>::get() )
{
aVal <<= Reference< XFormComponent >( m_xElement, UNO_QUERY );
}