[Libreoffice-commits] .: Branch 'libreoffice-3-4' - dbaccess/source
Michael Meeks
michael at kemper.freedesktop.org
Fri Jul 1 06:48:56 PDT 2011
dbaccess/source/ui/app/AppController.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 6bfa004c52451b618691b56938611ffd368549e2
Author: Jan Holesovsky <kendy at suse.cz>
Date: Fri Jul 1 11:06:15 2011 +0200
Don't crash when selecting target to db document, fdo#36545.
Signed-off-by: Michael Meeks <michael.meeks at novell.com>
diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx
index 7545e73..ba65284 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;
}
// -----------------------------------------------------------------------------
More information about the Libreoffice-commits
mailing list