diff options
author | Mathias Bauer <mba@openoffice.org> | 2002-04-23 07:21:40 +0000 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2002-04-23 07:21:40 +0000 |
commit | 75308c2dbd05b68aeea63a1224271723ac1d923d (patch) | |
tree | 0a1990c68d5ecbf0fc3ef4aae621e5045dee3954 /sfx2/source/control/statcach.cxx | |
parent | 11bf7e5ddceecb26cfafcbb865e27891a23d8633 (diff) |
#98405#: GPF for slots without UnoNames
Diffstat (limited to 'sfx2/source/control/statcach.cxx')
-rw-r--r-- | sfx2/source/control/statcach.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/control/statcach.cxx b/sfx2/source/control/statcach.cxx index 93c2ce6c0dcd..1e1f4b7b8416 100644 --- a/sfx2/source/control/statcach.cxx +++ b/sfx2/source/control/statcach.cxx @@ -2,9 +2,9 @@ * * $RCSfile: statcach.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: mba $ $Date: 2002-04-22 16:56:18 $ + * last change: $Author: mba $ $Date: 2002-04-23 08:21:40 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -308,7 +308,7 @@ const SfxSlotServer* SfxStateCache::GetSlotServer( SfxDispatcher &rDispat , cons // create the dispatch name from the slot data ::com::sun::star::util::URL aURL; - String aName( pSlot ? String::CreateFromAscii(pSlot->GetUnoName()) : String() ); + String aName( pSlot && pSlot->pUnoName ? String::CreateFromAscii(pSlot->GetUnoName()) : String() ); String aCmd; if ( aName.Len() ) { |