diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 12:53:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 12:53:51 +0100 |
commit | e8f8f24c8415898c787bbfb629247ed62e73a2b9 (patch) | |
tree | dae18a3acbf29c192118e7c003f80df8da8e21ae /include/sfx2 | |
parent | 1c8402465cfd4df862409dc310f5f099d044c4d8 (diff) |
vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/basedlgs.hxx | 4 | ||||
-rw-r--r-- | include/sfx2/dinfdlg.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/dockwin.hxx | 6 | ||||
-rw-r--r-- | include/sfx2/navigat.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/sfxhelp.hxx | 4 | ||||
-rw-r--r-- | include/sfx2/tbxctrl.hxx | 2 |
6 files changed, 10 insertions, 10 deletions
diff --git a/include/sfx2/basedlgs.hxx b/include/sfx2/basedlgs.hxx index c90effc9cb40..e486242670b1 100644 --- a/include/sfx2/basedlgs.hxx +++ b/include/sfx2/basedlgs.hxx @@ -105,7 +105,7 @@ protected: SfxModelessDialog( SfxBindings*, SfxChildWindow*, Window*, const OString& rID, const OUString& rUIXMLDescription ); ~SfxModelessDialog(); - virtual sal_Bool Close(); + virtual bool Close(); virtual void Resize(); virtual void Move(); virtual void StateChanged( StateChangedType nStateChange ); @@ -144,7 +144,7 @@ protected: ~SfxFloatingWindow(); virtual void StateChanged( StateChangedType nStateChange ); - virtual sal_Bool Close(); + virtual bool Close(); virtual void Resize(); virtual void Move(); virtual bool Notify( NotifyEvent& rNEvt ); diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx index f13514d21dc3..3d572b341884 100644 --- a/include/sfx2/dinfdlg.hxx +++ b/include/sfx2/dinfdlg.hxx @@ -372,7 +372,7 @@ public: inline void CheckYes() { m_aYesButton.Check(); } inline void CheckNo() { m_aNoButton.Check(); } - inline bool IsYesChecked() const { return m_aYesButton.IsChecked() != sal_False; } + inline bool IsYesChecked() const { return m_aYesButton.IsChecked(); } }; // struct CustomPropertyLine --------------------------------------------- diff --git a/include/sfx2/dockwin.hxx b/include/sfx2/dockwin.hxx index 333bdc455891..b8dd5826cbb8 100644 --- a/include/sfx2/dockwin.hxx +++ b/include/sfx2/dockwin.hxx @@ -58,14 +58,14 @@ protected: CheckAlignment(SfxChildAlignment,SfxChildAlignment); virtual void Resize(); - virtual sal_Bool PrepareToggleFloatingMode(); + virtual bool PrepareToggleFloatingMode(); virtual void ToggleFloatingMode(); virtual void StartDocking(); - virtual sal_Bool Docking( const Point& rPos, Rectangle& rRect ); + virtual bool Docking( const Point& rPos, Rectangle& rRect ); virtual void EndDocking( const Rectangle& rRect, sal_Bool bFloatMode ); virtual void Resizing( Size& rSize ); virtual void Paint( const Rectangle& rRect ); - virtual sal_Bool Close(); + virtual bool Close(); virtual void Move(); SAL_DLLPRIVATE SfxChildWindow* GetChildWindow_Impl() { return pMgr; } diff --git a/include/sfx2/navigat.hxx b/include/sfx2/navigat.hxx index 8ae93a8ef088..dec3c734ac0a 100644 --- a/include/sfx2/navigat.hxx +++ b/include/sfx2/navigat.hxx @@ -47,7 +47,7 @@ public: virtual void Resize(); virtual void Resizing( Size& rSize ); - virtual sal_Bool Close(); + virtual bool Close(); }; #endif diff --git a/include/sfx2/sfxhelp.hxx b/include/sfx2/sfxhelp.hxx index 78090270af91..cc7ad04c2845 100644 --- a/include/sfx2/sfxhelp.hxx +++ b/include/sfx2/sfxhelp.hxx @@ -36,8 +36,8 @@ class SFX2_DLLPUBLIC SfxHelp : public Help private: SAL_DLLPRIVATE sal_Bool Start_Impl( const OUString& rURL, const Window* pWindow, const OUString& rKeyword ); - SAL_DLLPRIVATE virtual sal_Bool SearchKeyword( const OUString& rKeyWord ); - SAL_DLLPRIVATE virtual sal_Bool Start( const OUString& rURL, const Window* pWindow ); + SAL_DLLPRIVATE virtual bool SearchKeyword( const OUString& rKeyWord ); + SAL_DLLPRIVATE virtual bool Start( const OUString& rURL, const Window* pWindow ); SAL_DLLPRIVATE OUString GetHelpModuleName_Impl(); SAL_DLLPRIVATE OUString CreateHelpURL_Impl( const OUString& aCommandURL, const OUString& rModuleName ); diff --git a/include/sfx2/tbxctrl.hxx b/include/sfx2/tbxctrl.hxx index c859d1a2f7c0..ac7d66a51768 100644 --- a/include/sfx2/tbxctrl.hxx +++ b/include/sfx2/tbxctrl.hxx @@ -120,7 +120,7 @@ private: protected: virtual void PopupModeEnd(); - virtual sal_Bool Close(); + virtual bool Close(); virtual void DeleteFloatingWindow(); sal_uInt16 GetId() const { return m_nId; } |