summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compilerplugins/clang/virtualdead.unusedparams.results3
-rw-r--r--sd/source/ui/app/sdmod1.cxx4
-rw-r--r--sd/source/ui/inc/OutlineViewShell.hxx2
-rw-r--r--sd/source/ui/inc/ViewShell.hxx2
-rw-r--r--sd/source/ui/view/outlnvsh.cxx2
-rw-r--r--sd/source/ui/view/viewshel.cxx4
6 files changed, 7 insertions, 10 deletions
diff --git a/compilerplugins/clang/virtualdead.unusedparams.results b/compilerplugins/clang/virtualdead.unusedparams.results
index 74c5dc078e4a..62eeae5aac7b 100644
--- a/compilerplugins/clang/virtualdead.unusedparams.results
+++ b/compilerplugins/clang/virtualdead.unusedparams.results
@@ -247,9 +247,6 @@ sd/source/ui/inc/View.hxx:92
sd/source/ui/inc/ViewClipboard.hxx:64
unsigned short sd::ViewClipboard::DetermineInsertPosition(const class SdTransferable &,)
0
-sd/source/ui/inc/ViewShell.hxx:212
- void sd::ViewShell::UpdatePreview(class SdPage *,_Bool,)
- 10
sdext/source/pdfimport/inc/contentsink.hxx:150
void pdfi::ContentSink::drawMask(const class com::sun::star::uno::Sequence<struct com::sun::star::beans::PropertyValue> &,_Bool,)
10
diff --git a/sd/source/ui/app/sdmod1.cxx b/sd/source/ui/app/sdmod1.cxx
index 2949cdad454d..3d84ddb0da56 100644
--- a/sd/source/ui/app/sdmod1.cxx
+++ b/sd/source/ui/app/sdmod1.cxx
@@ -605,12 +605,12 @@ void OutlineToImpressFinalizer::operator() (bool)
// following UpdatePreview() call accesses the
// correct paragraphs.
pView->SetActualPage(pPage);
- pOutlineShell->UpdatePreview(pPage, true);
+ pOutlineShell->UpdatePreview(pPage);
}
// Select the first slide.
SdPage* pPage = mrDocument.GetSdPage(0, PageKind::Standard);
pView->SetActualPage(pPage);
- pOutlineShell->UpdatePreview(pPage, true);
+ pOutlineShell->UpdatePreview(pPage);
}
// Undo-Stack needs to be cleared, else the user may remove the
diff --git a/sd/source/ui/inc/OutlineViewShell.hxx b/sd/source/ui/inc/OutlineViewShell.hxx
index f7d05f5721b9..b2a6aaf9aef4 100644
--- a/sd/source/ui/inc/OutlineViewShell.hxx
+++ b/sd/source/ui/inc/OutlineViewShell.hxx
@@ -132,7 +132,7 @@ public:
/** Update the preview to show the specified page.
*/
- virtual void UpdatePreview (SdPage* pPage, bool bInit = false) override;
+ virtual void UpdatePreview (SdPage* pPage) override;
virtual css::uno::Reference<css::drawing::XDrawSubController> CreateSubController() override;
diff --git a/sd/source/ui/inc/ViewShell.hxx b/sd/source/ui/inc/ViewShell.hxx
index d446cef7996c..fd551dc298a5 100644
--- a/sd/source/ui/inc/ViewShell.hxx
+++ b/sd/source/ui/inc/ViewShell.hxx
@@ -209,7 +209,7 @@ public:
model according to the content of the outline view. This in turn
updates the previews in the slide sorter.
*/
- virtual void UpdatePreview (SdPage* pPage, bool bInit = false);
+ virtual void UpdatePreview (SdPage* pPage);
void DrawMarkRect(const ::tools::Rectangle& rRect) const;
diff --git a/sd/source/ui/view/outlnvsh.cxx b/sd/source/ui/view/outlnvsh.cxx
index 0c0ca15a4062..87bb5de8a454 100644
--- a/sd/source/ui/view/outlnvsh.cxx
+++ b/sd/source/ui/view/outlnvsh.cxx
@@ -1545,7 +1545,7 @@ SdPage* OutlineViewShell::GetActualPage()
return pOlView->GetActualPage();
}
-void OutlineViewShell::UpdatePreview( SdPage* pPage, bool )
+void OutlineViewShell::UpdatePreview( SdPage* pPage )
{
const bool bNewPage = pPage != pLastPage;
pLastPage = pPage;
diff --git a/sd/source/ui/view/viewshel.cxx b/sd/source/ui/view/viewshel.cxx
index 45a775aa3375..5df5c54de71e 100644
--- a/sd/source/ui/view/viewshel.cxx
+++ b/sd/source/ui/view/viewshel.cxx
@@ -327,7 +327,7 @@ void ViewShell::Activate(bool bIsMDIActivate)
GetCurrentFunction()->Activate();
if(!GetDocSh()->IsUIActive())
- UpdatePreview( GetActualPage(), true );
+ UpdatePreview( GetActualPage() );
}
ReadFrameViewData( mpFrameView );
@@ -1060,7 +1060,7 @@ bool ViewShell::PrepareClose (bool bUI)
return bResult;
}
-void ViewShell::UpdatePreview (SdPage*, bool )
+void ViewShell::UpdatePreview (SdPage*)
{
// Do nothing. After the actual preview has been removed,
// OutlineViewShell::UpdatePreview() is the place where something