diff options
author | Mikhail Voitenko <mav@openoffice.org> | 2002-09-17 07:30:27 +0000 |
---|---|---|
committer | Mikhail Voitenko <mav@openoffice.org> | 2002-09-17 07:30:27 +0000 |
commit | 13e13131608fbca9d0b75d6e2a27be216e9f2401 (patch) | |
tree | b9bdc1ee10f88581905dd47fd1ef912aa57715f9 | |
parent | 672ebf31dcfdd04840dc314d5ec5fd430d7c193d (diff) |
#102223# check for ItemSet existance
-rw-r--r-- | sfx2/source/doc/objstor.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index ac3c7d4c66be..64ee2aa09675 100644 --- a/sfx2/source/doc/objstor.cxx +++ b/sfx2/source/doc/objstor.cxx @@ -2,9 +2,9 @@ * * $RCSfile: objstor.cxx,v $ * - * $Revision: 1.106 $ + * $Revision: 1.107 $ * - * last change: $Author: mav $ $Date: 2002-09-12 09:44:26 $ + * last change: $Author: mav $ $Date: 2002-09-17 08:30:27 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1780,7 +1780,8 @@ sal_Bool SfxObjectShell::DoSave_Impl( const SfxItemSet* pArgs ) // restore BaseURL INetURLObject::SetBaseURL( aOldURL ); - pMediumTmp->GetItemSet()->ClearItem( SID_INTERACTIONHANDLER ); + if( pMediumTmp->GetItemSet() ) + pMediumTmp->GetItemSet()->ClearItem( SID_INTERACTIONHANDLER ); SetError(pMediumTmp->GetErrorCode()); |