diff options
Diffstat (limited to 'sd/source/ui/view/OutlinerIterator.cxx')
-rw-r--r-- | sd/source/ui/view/OutlinerIterator.cxx | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/sd/source/ui/view/OutlinerIterator.cxx b/sd/source/ui/view/OutlinerIterator.cxx index 1186b60527c7..2fcd500b986f 100644 --- a/sd/source/ui/view/OutlinerIterator.cxx +++ b/sd/source/ui/view/OutlinerIterator.cxx @@ -197,7 +197,7 @@ Iterator OutlinerContainer::CreateIterator (IteratorLocation aLocation) Iterator OutlinerContainer::CreateSelectionIterator ( const ::std::vector<SdrObjectWeakRef>& rObjectList, SdDrawDocument* pDocument, - const std::shared_ptr<ViewShell>& rpViewShell, + const ::boost::shared_ptr<ViewShell>& rpViewShell, bool bDirectionIsForward, IteratorLocation aLocation) { @@ -236,7 +236,7 @@ Iterator OutlinerContainer::CreateSelectionIterator ( Iterator OutlinerContainer::CreateDocumentIterator ( SdDrawDocument* pDocument, - const std::shared_ptr<ViewShell>& rpViewShell, + const ::boost::shared_ptr<ViewShell>& rpViewShell, bool bDirectionIsForward, IteratorLocation aLocation) { @@ -275,8 +275,8 @@ Iterator OutlinerContainer::CreateDocumentIterator ( break; case CURRENT: - const std::shared_ptr<DrawViewShell> pDrawViewShell( - std::dynamic_pointer_cast<DrawViewShell>(rpViewShell)); + const ::boost::shared_ptr<DrawViewShell> pDrawViewShell( + ::boost::dynamic_pointer_cast<DrawViewShell>(rpViewShell)); if (pDrawViewShell.get()) { ePageKind = pDrawViewShell->GetPageKind(); @@ -300,7 +300,7 @@ Iterator OutlinerContainer::CreateDocumentIterator ( sal_Int32 OutlinerContainer::GetPageIndex ( SdDrawDocument* pDocument, - const std::shared_ptr<ViewShell>& rpViewShell, + const ::boost::shared_ptr<ViewShell>& rpViewShell, PageKind ePageKind, EditMode eEditMode, bool bDirectionIsForward, @@ -311,8 +311,8 @@ sal_Int32 OutlinerContainer::GetPageIndex ( sal_Int32 nPageIndex; sal_Int32 nPageCount; - const std::shared_ptr<DrawViewShell> pDrawViewShell( - std::dynamic_pointer_cast<DrawViewShell>(rpViewShell)); + const ::boost::shared_ptr<DrawViewShell> pDrawViewShell( + ::boost::dynamic_pointer_cast<DrawViewShell>(rpViewShell)); switch (eEditMode) { @@ -363,16 +363,16 @@ sal_Int32 OutlinerContainer::GetPageIndex ( //===== IteratorImplBase ==================================================== IteratorImplBase::IteratorImplBase(SdDrawDocument* pDocument, - const std::weak_ptr<ViewShell>& rpViewShellWeak, + const ::boost::weak_ptr<ViewShell>& rpViewShellWeak, bool bDirectionIsForward) : maPosition() , mpDocument (pDocument) , mpViewShellWeak (rpViewShellWeak) , mbDirectionIsForward (bDirectionIsForward) { - std::shared_ptr<DrawViewShell> pDrawViewShell; + ::boost::shared_ptr<DrawViewShell> pDrawViewShell; if ( ! mpViewShellWeak.expired()) - pDrawViewShell = std::dynamic_pointer_cast<DrawViewShell>(rpViewShellWeak.lock()); + pDrawViewShell = ::boost::dynamic_pointer_cast<DrawViewShell>(rpViewShellWeak.lock()); if (pDrawViewShell.get()) { @@ -387,7 +387,7 @@ IteratorImplBase::IteratorImplBase(SdDrawDocument* pDocument, } IteratorImplBase::IteratorImplBase( SdDrawDocument* pDocument, - const std::weak_ptr<ViewShell>& rpViewShellWeak, + const ::boost::weak_ptr<ViewShell>& rpViewShellWeak, bool bDirectionIsForward, PageKind ePageKind, EditMode eEditMode) : maPosition() , mpDocument (pDocument) @@ -442,7 +442,7 @@ SelectionIteratorImpl::SelectionIteratorImpl ( const ::std::vector<SdrObjectWeakRef>& rObjectList, sal_Int32 nObjectIndex, SdDrawDocument* pDocument, - const std::weak_ptr<ViewShell>& rpViewShellWeak, + const ::boost::weak_ptr<ViewShell>& rpViewShellWeak, bool bDirectionIsForward) : IteratorImplBase (pDocument, rpViewShellWeak, bDirectionIsForward), mrObjectList(rObjectList), @@ -542,7 +542,7 @@ bool SelectionIteratorImpl::IsEqual ( ViewIteratorImpl::ViewIteratorImpl ( sal_Int32 nPageIndex, SdDrawDocument* pDocument, - const std::weak_ptr<ViewShell>& rpViewShellWeak, + const ::boost::weak_ptr<ViewShell>& rpViewShellWeak, bool bDirectionIsForward) : IteratorImplBase (pDocument, rpViewShellWeak, bDirectionIsForward), mbPageChangeOccurred(false), @@ -555,7 +555,7 @@ ViewIteratorImpl::ViewIteratorImpl ( ViewIteratorImpl::ViewIteratorImpl ( sal_Int32 nPageIndex, SdDrawDocument* pDocument, - const std::weak_ptr<ViewShell>& rpViewShellWeak, + const ::boost::weak_ptr<ViewShell>& rpViewShellWeak, bool bDirectionIsForward, PageKind ePageKind, EditMode eEditMode) @@ -729,7 +729,7 @@ DocumentIteratorImpl::DocumentIteratorImpl ( sal_Int32 nPageIndex, PageKind ePageKind, EditMode eEditMode, SdDrawDocument* pDocument, - const std::weak_ptr<ViewShell>& rpViewShellWeak, + const ::boost::weak_ptr<ViewShell>& rpViewShellWeak, bool bDirectionIsForward) : ViewIteratorImpl (nPageIndex, pDocument, rpViewShellWeak, bDirectionIsForward, ePageKind, eEditMode) |