From 435d6d50c3cdb6711942ee40dc2fae1865361845 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 8 Mar 2016 16:21:26 +0200 Subject: loplugin:constantparam in sfx2 Change-Id: I50a2d8221f907f0e844e558f3dbdd0346c010201 --- sc/source/ui/docshell/docsh.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sc/source/ui/docshell/docsh.cxx') diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index 08dbab971a38..0309e1dcc44a 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -2878,10 +2878,9 @@ void ScDocShell::GetDocStat( ScDocStat& rDocStat ) (sal_uInt16) ScPrintFunc( this, pPrinter, i ).GetTotalPages() ); } -VclPtr ScDocShell::CreateDocumentInfoDialog( - vcl::Window *pParent, const SfxItemSet &rSet ) +VclPtr ScDocShell::CreateDocumentInfoDialog( const SfxItemSet &rSet ) { - VclPtr pDlg = VclPtr::Create( pParent, rSet ); + VclPtr pDlg = VclPtr::Create( nullptr, rSet ); ScDocShell* pDocSh = dynamic_cast< ScDocShell *>( SfxObjectShell::Current() ); // Only for statistics, if this Doc is shown; not from the Doc Manager -- cgit