diff options
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/dlg/sdtreelb.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/dlg/tpaction.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/inc/sdtreelb.hxx | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/dlg/sdtreelb.cxx b/sd/source/ui/dlg/sdtreelb.cxx index cfac921eeda0..6bce07db2b24 100644 --- a/sd/source/ui/dlg/sdtreelb.cxx +++ b/sd/source/ui/dlg/sdtreelb.cxx @@ -1696,14 +1696,14 @@ void SdPageObjsTLV::AddShapeList ( /** * Fill TreeLB with pages and objects */ -void SdPageObjsTLV::Fill(const SdDrawDocument* pInDoc, bool bAllPages, const OUString& rDocName) +void SdPageObjsTLV::Fill(const SdDrawDocument* pInDoc, const OUString& rDocName) { OUString aSelection = m_xTreeView->get_selected_text(); clear(); m_pDoc = pInDoc; m_aDocName = rDocName; - m_bShowAllPages = bAllPages; + m_bShowAllPages = true; m_pMedium = nullptr; // first insert all pages including objects diff --git a/sd/source/ui/dlg/tpaction.cxx b/sd/source/ui/dlg/tpaction.cxx index 5edca44aa8a3..8eda52babf31 100644 --- a/sd/source/ui/dlg/tpaction.cxx +++ b/sd/source/ui/dlg/tpaction.cxx @@ -355,7 +355,7 @@ void SdTPAction::UpdateTree() { if( !bTreeUpdated && mpDoc && mpDoc->GetDocSh() && mpDoc->GetDocSh()->GetMedium() ) { - m_xLbTree->Fill( mpDoc, true, mpDoc->GetDocSh()->GetMedium()->GetName() ); + m_xLbTree->Fill( mpDoc, mpDoc->GetDocSh()->GetMedium()->GetName() ); bTreeUpdated = true; } } @@ -649,7 +649,7 @@ IMPL_LINK_NOARG(SdTPAction, CheckFileHdl, weld::Widget&, void) aLastFile = aFile; m_xLbTreeDocument->clear(); - m_xLbTreeDocument->Fill(pBookmarkDoc, true, aFile); + m_xLbTreeDocument->Fill(pBookmarkDoc, aFile); mpDoc->CloseBookmarkDoc(); m_xLbTreeDocument->show(); bHideTreeDocument = false; diff --git a/sd/source/ui/inc/sdtreelb.hxx b/sd/source/ui/inc/sdtreelb.hxx index 8d404ebf5b7c..12d7a7eededc 100644 --- a/sd/source/ui/inc/sdtreelb.hxx +++ b/sd/source/ui/inc/sdtreelb.hxx @@ -413,7 +413,7 @@ public: void SetViewFrame(const SfxViewFrame* pViewFrame); - void Fill(const SdDrawDocument*, bool bAllPages, const OUString& rDocName); + void Fill(const SdDrawDocument*, const OUString& rDocName); void Fill(const SdDrawDocument*, SfxMedium* pSfxMedium, const OUString& rDocName); /** Add one list box entry for the parent of the given shapes and one child entry for |