[Libreoffice-commits] .: basctl/source
Markus Mohrhard
mmohrhard at kemper.freedesktop.org
Mon Aug 29 11:13:54 PDT 2011
basctl/source/basicide/iderdll.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a6adae16d96d78cb5b54de7bcc14d2b3ce48ae77
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Mon Aug 29 20:10:45 2011 +0200
don't crash when loading basic IDE
diff --git a/basctl/source/basicide/iderdll.cxx b/basctl/source/basicide/iderdll.cxx
index 45761d1..ee26e82 100644
--- a/basctl/source/basicide/iderdll.cxx
+++ b/basctl/source/basicide/iderdll.cxx
@@ -108,7 +108,7 @@ namespace BasicIDEGlobals
void ShellCreated(BasicIDEShell* pShell)
{
BasicIDEDLL *pIDEGlobals = theBasicIDEDLLInstance::get().get();
- if (pIDEGlobals && pIDEGlobals->GetShell() == pShell)
+ if (pIDEGlobals && pIDEGlobals->GetShell() == NULL)
pIDEGlobals->SetShell(pShell);
}
More information about the Libreoffice-commits
mailing list