diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/frame.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/objsh.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/viewsh.hxx | 2 | ||||
-rw-r--r-- | include/svx/fmshell.hxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/include/sfx2/frame.hxx b/include/sfx2/frame.hxx index 9512f2140a1c..7426ed26a89c 100644 --- a/include/sfx2/frame.hxx +++ b/include/sfx2/frame.hxx @@ -172,7 +172,7 @@ public: SAL_DLLPRIVATE void ReleasingComponent_Impl( sal_Bool bSet ); SAL_DLLPRIVATE void GetViewData_Impl(); SAL_DLLPRIVATE void SetFrameType_Impl( sal_uInt32 ); - SAL_DLLPRIVATE sal_uInt16 PrepareClose_Impl( sal_Bool bUI, sal_Bool bForBrowsing=sal_False ); + SAL_DLLPRIVATE bool PrepareClose_Impl( sal_Bool bUI, sal_Bool bForBrowsing=sal_False ); SAL_DLLPRIVATE sal_Bool DocIsModified_Impl(); SAL_DLLPRIVATE void SetCurrentViewFrame_Impl( SfxViewFrame* ); SAL_DLLPRIVATE sal_Bool IsClosing_Impl() const; diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx index 7477963bebfa..79a0bca2b990 100644 --- a/include/sfx2/objsh.hxx +++ b/include/sfx2/objsh.hxx @@ -426,7 +426,7 @@ public: static sal_uInt32 HandleFilter( SfxMedium* pMedium, SfxObjectShell* pDoc ); virtual void ViewAssigned(); - virtual sal_uInt16 PrepareClose( sal_Bool bUI = sal_True, sal_Bool bForBrowsing = sal_False ); + virtual bool PrepareClose( sal_Bool bUI = sal_True, sal_Bool bForBrowsing = sal_False ); virtual sal_Bool IsInformationLost(); virtual sal_uInt16 GetHiddenInformationState( sal_uInt16 nStates ); sal_Int16 QueryHiddenInformation( HiddenWarningFact eFact, Window* pParent ); diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx index f4989a07ea9b..f6bfdb4f8839 100644 --- a/include/sfx2/viewsh.hxx +++ b/include/sfx2/viewsh.hxx @@ -184,7 +184,7 @@ public: void VisAreaChanged(const Rectangle& rRect); // Misc - virtual sal_uInt16 PrepareClose( sal_Bool bUI = sal_True, sal_Bool bForBrowsing = sal_False ); + virtual bool PrepareClose( sal_Bool bUI = sal_True, sal_Bool bForBrowsing = sal_False ); virtual OUString GetSelectionText( bool bCompleteWords = false ); virtual sal_Bool HasSelection( sal_Bool bText = sal_True ) const; virtual SdrView* GetDrawView() const; diff --git a/include/svx/fmshell.hxx b/include/svx/fmshell.hxx index 89dc2009f616..815a7862a7ac 100644 --- a/include/svx/fmshell.hxx +++ b/include/svx/fmshell.hxx @@ -123,7 +123,7 @@ public: FmFormPage* GetCurPage() const; FmXFormShell* GetImpl() const {return m_pImpl;}; - sal_uInt16 PrepareClose(sal_Bool bUI = sal_True, sal_Bool bForBrowsing = sal_False); + bool PrepareClose(sal_Bool bUI = sal_True, sal_Bool bForBrowsing = sal_False); bool IsActiveControl() const; void ForgetActiveControl(); |