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 | |
parent | a31abd3d203ac8de4e045492fed53ca706bb24d1 (diff) |
Remove unused bForBrowsing parameter
Change-Id: I32b458390130e9ed83af0831069329ac8f672d67
Diffstat (limited to 'sfx2/source/view')
-rw-r--r-- | sfx2/source/view/frame.cxx | 8 | ||||
-rw-r--r-- | sfx2/source/view/viewsh.cxx | 3 |
2 files changed, 5 insertions, 6 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; diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx index ffcd7408d639..3d5199df34e3 100644 --- a/sfx2/source/view/viewsh.cxx +++ b/sfx2/source/view/viewsh.cxx @@ -1288,8 +1288,7 @@ SfxViewShell::~SfxViewShell() bool SfxViewShell::PrepareClose ( - sal_Bool bUI, // TRUE: Allow Dialog and so on, FALSE: silent-mode - sal_Bool /*bForBrowsing*/ + sal_Bool bUI // TRUE: Allow Dialog and so on, FALSE: silent-mode ) { SfxPrinter *pPrinter = GetPrinter(); |