diff options
author | Jan Holesovsky <kendy@suse.cz> | 2011-07-28 10:14:00 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2011-07-28 10:14:00 +0200 |
commit | c2a7f87b9249a8ffce185f25a75a65a3ae103891 (patch) | |
tree | 631c854f16143ac8bc8cdf46b65923e12a899ee8 /dbaccess | |
parent | bc04067352c6bb09c113567c7c2acb8933a09130 (diff) | |
parent | 85ae012d5d337363cbfec386c026684fce9a539e (diff) |
Merge commit 'libreoffice-3.4.2.3'
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/app/AppController.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx index 94ee696b8112..9c349639445c 100644 --- a/dbaccess/source/ui/app/AppController.cxx +++ b/dbaccess/source/ui/app/AppController.cxx @@ -1937,7 +1937,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; } // ----------------------------------------------------------------------------- |