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 /sc | |
parent | a31abd3d203ac8de4e045492fed53ca706bb24d1 (diff) |
Remove unused bForBrowsing parameter
Change-Id: I32b458390130e9ed83af0831069329ac8f672d67
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/docshell/docsh.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/docsh.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/tabvwsh.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/tabvwsh4.cxx | 6 |
4 files changed, 7 insertions, 7 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index 49150e3ef34b..e7cdf57d2cd7 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -2500,7 +2500,7 @@ sal_Bool ScDocShell::QuerySlotExecutable( sal_uInt16 nSlotId ) } -bool ScDocShell::PrepareClose( sal_Bool bUI, sal_Bool bForBrowsing ) +bool ScDocShell::PrepareClose( sal_Bool bUI ) { if(SC_MOD()->GetCurRefDlgId()>0) { @@ -2546,7 +2546,7 @@ bool ScDocShell::PrepareClose( sal_Bool bUI, sal_Bool bForBrowsing ) } // end handler code - bool nRet = SfxObjectShell::PrepareClose( bUI, bForBrowsing ); + bool nRet = SfxObjectShell::PrepareClose( bUI ); if (nRet) // true = close aDocument.EnableIdle(false); // nicht mehr drin rumpfuschen !!! diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx index b71577a56ec2..6bfee712c3bc 100644 --- a/sc/source/ui/inc/docsh.hxx +++ b/sc/source/ui/inc/docsh.hxx @@ -209,7 +209,7 @@ public: virtual sal_Bool Save(); virtual sal_Bool SaveAs( SfxMedium& rMedium ); virtual sal_Bool ConvertTo( SfxMedium &rMedium ); - virtual bool PrepareClose( sal_Bool bUI = sal_True, sal_Bool bForBrowsing = false ); + virtual bool PrepareClose( sal_Bool bUI = sal_True ) SAL_OVERRIDE; virtual void PrepareReload(); virtual sal_Bool IsInformationLost(); virtual void LoadStyles( SfxObjectShell &rSource ); diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx index a1654da5ad15..285b68e27764 100644 --- a/sc/source/ui/inc/tabvwsh.hxx +++ b/sc/source/ui/inc/tabvwsh.hxx @@ -202,7 +202,7 @@ private: protected: virtual void Activate(sal_Bool bMDI); virtual void Deactivate(sal_Bool bMDI); - virtual bool PrepareClose( sal_Bool bUI = sal_True, sal_Bool bForBrowsing = false ); + virtual bool PrepareClose( sal_Bool bUI = sal_True ) SAL_OVERRIDE; virtual void ShowCursor(bool bOn); diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx index 2f566a449d39..36110fe25d0d 100644 --- a/sc/source/ui/view/tabvwsh4.cxx +++ b/sc/source/ui/view/tabvwsh4.cxx @@ -276,7 +276,7 @@ void ScTabViewShell::SetActive() ActiveGrabFocus(); } -bool ScTabViewShell::PrepareClose(sal_Bool bUI, sal_Bool bForBrowsing) +bool ScTabViewShell::PrepareClose(sal_Bool bUI) { // Call EnterHandler even in formula mode here, // so a formula change in an embedded object isn't lost @@ -303,11 +303,11 @@ bool ScTabViewShell::PrepareClose(sal_Bool bUI, sal_Bool bForBrowsing) if ( pFormShell ) { - sal_uInt16 nRet = pFormShell->PrepareClose(bUI, bForBrowsing); + sal_uInt16 nRet = pFormShell->PrepareClose(bUI); if (nRet!=sal_True) return nRet; } - return SfxViewShell::PrepareClose(bUI,bForBrowsing); + return SfxViewShell::PrepareClose(bUI); } //------------------------------------------------------------------ |