diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-14 14:22:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-14 14:30:35 +0100 |
commit | a1b58e93f631c6bfd92fc8269da89c74e3784d58 (patch) | |
tree | f4c41dfaf52962712557a101294959555b673ef4 /sfx2/source | |
parent | 03782946065d8a31808f1dab9bc848d349d623f1 (diff) |
loplugin:constantparam
Change-Id: I3ce653c0d9e517229dbbe32cc8d3ec3c206e364d
Reviewed-on: https://gerrit.libreoffice.org/51273
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/view/frame2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/view/frame2.cxx b/sfx2/source/view/frame2.cxx index 663d9bfef299..5b8c3ca73638 100644 --- a/sfx2/source/view/frame2.cxx +++ b/sfx2/source/view/frame2.cxx @@ -217,7 +217,7 @@ Reference < XFrame > SfxFrame::CreateBlankFrame() return xFrame; } -SfxFrame* SfxFrame::Create( SfxObjectShell const & rDoc, vcl::Window& rWindow, SfxInterfaceId nViewId, bool bHidden ) +SfxFrame* SfxFrame::CreateHidden( SfxObjectShell const & rDoc, vcl::Window& rWindow, SfxInterfaceId nViewId ) { SfxFrame* pFrame = nullptr; try @@ -240,7 +240,7 @@ SfxFrame* SfxFrame::Create( SfxObjectShell const & rDoc, vcl::Window& rWindow, S ::comphelper::NamedValueCollection aArgs( aLoadArgs ); aArgs.put( "Model", rDoc.GetModel() ); - aArgs.put( "Hidden", bHidden ); + aArgs.put( "Hidden", true ); if ( nViewId != SFX_INTERFACE_NONE ) aArgs.put( "ViewId", static_cast<sal_uInt16>(nViewId) ); |