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 /basctl | |
parent | a31abd3d203ac8de4e045492fed53ca706bb24d1 (diff) |
Remove unused bForBrowsing parameter
Change-Id: I32b458390130e9ed83af0831069329ac8f672d67
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/basidesh.cxx | 4 | ||||
-rw-r--r-- | basctl/source/inc/basidesh.hxx | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx index 0f4169af0eea..03a31eebb785 100644 --- a/basctl/source/basicide/basidesh.cxx +++ b/basctl/source/basicide/basidesh.cxx @@ -371,10 +371,8 @@ void Shell::StoreAllWindowData( bool bPersistent ) } -bool Shell::PrepareClose( sal_Bool bUI, sal_Bool bForBrowsing ) +bool Shell::PrepareClose( sal_Bool bUI ) { - (void)bForBrowsing; - // reset here because it's modified after printing etc. (DocInfo) GetViewFrame()->GetObjectShell()->SetModified(false); diff --git a/basctl/source/inc/basidesh.hxx b/basctl/source/inc/basidesh.hxx index 94265a2ca85e..a571d77f6278 100644 --- a/basctl/source/inc/basidesh.hxx +++ b/basctl/source/inc/basidesh.hxx @@ -119,7 +119,7 @@ private: virtual void AdjustPosSizePixel( const Point &rPos, const Size &rSize ); virtual void OuterResizePixel( const Point &rPos, const Size &rSize ); sal_uInt16 InsertWindowInTable (BaseWindow* pNewWin); - virtual bool PrepareClose( sal_Bool bUI, sal_Bool bForBrowsing ); + virtual bool PrepareClose( sal_Bool bUI ) SAL_OVERRIDE; void SetCurWindow (BaseWindow* pNewWin, bool bUpdateTabBar = false, bool bRememberAsCurrent = true); void ManageToolbars(); |