diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2005-05-20 11:01:20 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2005-05-20 11:01:20 +0000 |
commit | efd72c7025f267d1f568eeeedf7c5637baf6ece1 (patch) | |
tree | d4a60107c078f55d3cb9b41c3f1348631c5f0f35 /sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx | |
parent | b2cd545e425f122d3abef85217c7a4f312e5cfa8 (diff) |
INTEGRATION: CWS impress56 (1.20.32); FILE MERGED
2005/05/17 09:24:17 af 1.20.32.1: #i47383# Added guard against mpHitDescriptor being NULL.
Diffstat (limited to 'sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx')
-rw-r--r-- | sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx index fc94e25452ae..0995bdf13511 100644 --- a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx +++ b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx @@ -2,9 +2,9 @@ * * $RCSfile: SlsSelectionFunction.cxx,v $ * - * $Revision: 1.20 $ + * $Revision: 1.21 $ * - * last change: $Author: obo $ $Date: 2005-04-12 16:57:18 $ + * last change: $Author: rt $ $Date: 2005-05-20 12:01:20 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -968,7 +968,8 @@ bool SelectionFunction::EventProcessing (const EventDescriptor& rDescriptor) if (mpSubstitutionHandler->HasBeenMoved()) mpSubstitutionHandler->Process(); else - SetCurrentPage(*rDescriptor.mpHitDescriptor); + if (rDescriptor.mpHitDescriptor != NULL) + SetCurrentPage(*rDescriptor.mpHitDescriptor); mpSubstitutionHandler->End(); break; |