summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/viewdraw.cxx
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-02-23 14:35:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-02-23 17:43:06 +0100
commit4b9ad812facbd9416d9658325791bad3ab48934d (patch)
tree69da14f9b8d1b5987a4b567fb793269ce3f886b9 /sw/source/uibase/uiview/viewdraw.cxx
parenta3f83ecbeab33244b526ec68ca0f2034745a6371 (diff)
loplugin:constantparam
Change-Id: Ieaee9a3e3ef4aa9bc390ddb198ee1718f635bcbf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111391 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/uiview/viewdraw.cxx')
-rw-r--r--sw/source/uibase/uiview/viewdraw.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/viewdraw.cxx b/sw/source/uibase/uiview/viewdraw.cxx
index 219d4bbf52c8..766489bcf09c 100644
--- a/sw/source/uibase/uiview/viewdraw.cxx
+++ b/sw/source/uibase/uiview/viewdraw.cxx
@@ -151,7 +151,7 @@ void SwView::ExecDraw(SfxRequest& rReq)
if (pSdrView)
{
std::shared_ptr<svx::FontWorkGalleryDialog> pDlg = std::make_shared<svx::FontWorkGalleryDialog>(rWin.GetFrameWeld(), *pSdrView);
- pDlg->SetSdrObjectRef( pSdrView->GetModel(), false );
+ pDlg->SetSdrObjectRef( pSdrView->GetModel() );
weld::DialogController::runAsync(pDlg, [this, pDlg](int) {
vcl::Window& rWin2 = m_pWrtShell->GetView().GetViewFrame()->GetWindow();