diff options
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(); |