diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-14 11:21:10 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-14 11:21:10 +0100 |
commit | 7c1415e06ff480c5df75db2451ea522b0150f9b2 (patch) | |
tree | 8ee773de8e4d9e49219dd92537d90d7e69def3b5 /sfx2/source/view/frame.cxx | |
parent | a31abd3d203ac8de4e045492fed53ca706bb24d1 (diff) |
Remove unused bForBrowsing parameter
Change-Id: I32b458390130e9ed83af0831069329ac8f672d67
Diffstat (limited to 'sfx2/source/view/frame.cxx')
-rw-r--r-- | sfx2/source/view/frame.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/view/frame.cxx b/sfx2/source/view/frame.cxx index e4fb67ff9f82..350affb89a7e 100644 --- a/sfx2/source/view/frame.cxx +++ b/sfx2/source/view/frame.cxx @@ -193,7 +193,7 @@ sal_Bool SfxFrame::DocIsModified_Impl() return sal_False; } -bool SfxFrame::PrepareClose_Impl( sal_Bool bUI, sal_Bool bForBrowsing ) +bool SfxFrame::PrepareClose_Impl( sal_Bool bUI ) { bool nRet = true; @@ -218,17 +218,17 @@ bool SfxFrame::PrepareClose_Impl( sal_Bool bUI, sal_Bool bForBrowsing ) if ( bOther ) // if there are other views only the current view of this frame must be asked - nRet = GetCurrentViewFrame()->GetViewShell()->PrepareClose( bUI, bForBrowsing ); + nRet = GetCurrentViewFrame()->GetViewShell()->PrepareClose( bUI ); else // otherwise ask the document - nRet = pCur->PrepareClose( bUI, bForBrowsing ); + nRet = pCur->PrepareClose( bUI ); } if ( nRet ) { // if this frame has child frames, ask them too for( sal_uInt16 nPos = GetChildFrameCount(); nRet && nPos--; ) - nRet = (*pChildArr)[ nPos ]->PrepareClose_Impl( bUI, bForBrowsing ); + nRet = (*pChildArr)[ nPos ]->PrepareClose_Impl( bUI ); } pImp->bPrepClosing = sal_False; |