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 | catch by const reference (diff) | |
parent | Version 3.4.2.3, tag libreoffice-3.4.2.3 (3.4.2-rc3) (diff) | |
download | core-c2a7f87b9249a8ffce185f25a75a65a3ae103891.tar.gz core-c2a7f87b9249a8ffce185f25a75a65a3ae103891.zip |
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; } // ----------------------------------------------------------------------------- |