summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/app/AppController.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx
index ee242ea29d33..98852706f5d1 100644
--- a/dbaccess/source/ui/app/AppController.cxx
+++ b/dbaccess/source/ui/app/AppController.cxx
@@ -1936,7 +1936,8 @@ Reference< XComponent > OApplicationController::openElementWithArguments( const
IMPL_LINK( OApplicationController, OnSelectContainer, void*, _pType )
{
ElementType eType = (ElementType)reinterpret_cast< sal_IntPtr >( _pType );
- getContainer()->selectContainer(eType);
+ if (getContainer())
+ getContainer()->selectContainer(eType);
return 0L;
}
// -----------------------------------------------------------------------------