summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/uno/unosqlmessage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/uno/unosqlmessage.cxx')
-rw-r--r--dbaccess/source/ui/uno/unosqlmessage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/uno/unosqlmessage.cxx b/dbaccess/source/ui/uno/unosqlmessage.cxx
index f13270ee7e73..9235528c52a4 100644
--- a/dbaccess/source/ui/uno/unosqlmessage.cxx
+++ b/dbaccess/source/ui/uno/unosqlmessage.cxx
@@ -48,7 +48,7 @@ OSQLMessageDialog::OSQLMessageDialog(const Reference< XComponentContext >& _rxOR
:OSQLMessageDialogBase(_rxORB)
{
registerMayBeVoidProperty(PROPERTY_SQLEXCEPTION, PROPERTY_ID_SQLEXCEPTION, PropertyAttribute::TRANSIENT | PropertyAttribute::MAYBEVOID,
- &m_aException, ::getCppuType(static_cast<SQLException*>(NULL)));
+ &m_aException, ::cppu::UnoType<SQLException>::get());
registerProperty( PROPERTY_HELP_URL, PROPERTY_ID_HELP_URL, PropertyAttribute::TRANSIENT,
&m_sHelpURL, ::getCppuType( &m_sHelpURL ) );
}