summaryrefslogtreecommitdiff
path: root/sd/source/ui/accessibility
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-04-06 15:16:59 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-04-06 15:16:59 +0000
commit5716cd93c842b10178e867fdcb515866ee307e01 (patch)
tree317665e8d5b431a3d179f7b58e8374155c195522 /sd/source/ui/accessibility
parentdf0b7ee39523aa41a87c6a74e1e0b78c505eb421 (diff)
INTEGRATION: CWS impress89 (1.5.66); FILE MERGED
2006/03/20 10:15:35 af 1.5.66.1: #132646# Using shared_ptr to slidesorter PageDescriptor.
Diffstat (limited to 'sd/source/ui/accessibility')
-rw-r--r--sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx b/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx
index 442f66d02bf8..77f1d931ed04 100644
--- a/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx
+++ b/sd/source/ui/accessibility/AccessibleSlideSorterObject.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: AccessibleSlideSorterObject.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: obo $ $Date: 2006-01-19 12:50:20 $
+ * last change: $Author: vg $ $Date: 2006-04-06 16:16:59 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -570,9 +570,9 @@ sal_Bool AccessibleSlideSorterObject::IsDisposed (void)
SdPage* AccessibleSlideSorterObject::GetPage (void) const
{
- ::sd::slidesorter::model::PageDescriptor* pDescriptor
- = mrSlideSorterController.GetModel().GetPageDescriptor(mnPageNumber);
- if (pDescriptor != NULL)
+ ::sd::slidesorter::model::SharedPageDescriptor pDescriptor(
+ mrSlideSorterController.GetModel().GetPageDescriptor(mnPageNumber));
+ if (pDescriptor.get() != NULL)
return pDescriptor->GetPage();
else
return NULL;