summaryrefslogtreecommitdiff
path: root/basctl/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-14 09:31:42 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-14 09:31:58 +0100
commit0d0fd7b4fbc6090fe7112eef8b2b07840cf8a89d (patch)
tree5325634108de1bc065273fb7d1cd3d57a4ef675e /basctl/source
parent06272f678b54e99757c89419acfdc9217c88abd7 (diff)
PrepareClose should probably return bool
Change-Id: Ie62a6c1197594102bc68e246ae6059a9442ce314
Diffstat (limited to 'basctl/source')
-rw-r--r--basctl/source/basicide/basidesh.cxx2
-rw-r--r--basctl/source/inc/basidesh.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx
index 674775b79d77..0f4169af0eea 100644
--- a/basctl/source/basicide/basidesh.cxx
+++ b/basctl/source/basicide/basidesh.cxx
@@ -371,7 +371,7 @@ void Shell::StoreAllWindowData( bool bPersistent )
}
-sal_uInt16 Shell::PrepareClose( sal_Bool bUI, sal_Bool bForBrowsing )
+bool Shell::PrepareClose( sal_Bool bUI, sal_Bool bForBrowsing )
{
(void)bForBrowsing;
diff --git a/basctl/source/inc/basidesh.hxx b/basctl/source/inc/basidesh.hxx
index 1945d8afc390..94265a2ca85e 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 sal_uInt16 PrepareClose( sal_Bool bUI, sal_Bool bForBrowsing );
+ virtual bool PrepareClose( sal_Bool bUI, sal_Bool bForBrowsing );
void SetCurWindow (BaseWindow* pNewWin, bool bUpdateTabBar = false, bool bRememberAsCurrent = true);
void ManageToolbars();