diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-14 13:41:38 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-15 08:27:25 +0200 |
commit | b47cb646ff2a62fcd3fac0e453a7261bbaefbcb7 (patch) | |
tree | 49a2dc78e998baa77212776d7d94fb8d72dc0f00 /sfx2 | |
parent | 89e0663c55f7f1763536a345d63111115c71ef26 (diff) |
loplugin:constantparam
Change-Id: I270e068b3c83e966e741b0a072fecce9d92d53f5
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/view/frame.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/view/viewfrm.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/view/frame.cxx b/sfx2/source/view/frame.cxx index 47a7943b57d3..013bd14583cc 100644 --- a/sfx2/source/view/frame.cxx +++ b/sfx2/source/view/frame.cxx @@ -853,9 +853,9 @@ void SfxFrame::GrabFocusOnComponent_Impl() pFocusWindow->GrabFocus(); } -void SfxFrame::ReleasingComponent_Impl( bool bSet ) +void SfxFrame::ReleasingComponent_Impl() { - pImp->bReleasingComponent = bSet; + pImp->bReleasingComponent = true; } bool SfxFrame::IsInPlace() const diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index 3e45135af02b..3c803a9a1a7e 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -1044,7 +1044,7 @@ void SfxViewFrame::ReleaseObjectShell_Impl() { DBG_ASSERT( xObjSh.Is(), "no SfxObjectShell to release!" ); - GetFrame().ReleasingComponent_Impl( true ); + GetFrame().ReleasingComponent_Impl(); if ( GetWindow().HasChildPathFocus( true ) ) { DBG_ASSERT( !GetActiveChildFrame_Impl(), "Wrong active child frame!" ); |