Kaydet (Commit) 8de06dd9 authored tarafından Ivo Hinkelmann's avatar Ivo Hinkelmann

#i10000# fixed crash cause by dtrans move

üst acb87ad2
......@@ -131,6 +131,11 @@ SdModule::SdModule(SfxObjectFactory* pFact1, SfxObjectFactory* pFact2 )
SdModule::~SdModule()
{
// Mark the module in the global AppData structure as deleted.
SdModule** ppShellPointer = (SdModule**)GetAppData(SHL_DRAW);
if (ppShellPointer != NULL)
(*ppShellPointer) = NULL;
delete pSearchItem;
if( pNumberFormatter )
......
......@@ -481,6 +481,9 @@ void SdTransferable::AddSupportedFormats()
sal_Bool SdTransferable::GetData( const DataFlavor& rFlavor )
{
if (SD_MOD()==NULL)
return sal_False;
sal_uInt32 nFormat = SotExchange::GetFormat( rFlavor );
sal_Bool bOK = sal_False;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment