diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-26 13:25:02 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-27 13:45:09 +0200 |
commit | ffca95023020a24eaff4ece1d4c7bedd469bfb78 (patch) | |
tree | 301269f53d41a33798965e21197508d20633eb9b /include | |
parent | 75ebd3bdf3ffcfd088f6dead6657b5a4244f2317 (diff) |
sfx2/childwin.hxx: sal_Bool->bool
Change-Id: I4fe18964a3178c797ce6e1fe259ec230c2de6eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/childwin.hxx | 28 | ||||
-rw-r--r-- | include/svx/hyperdlg.hxx | 2 |
2 files changed, 15 insertions, 15 deletions
diff --git a/include/sfx2/childwin.hxx b/include/sfx2/childwin.hxx index e0de7c7bef92..154e8b8f9dc8 100644 --- a/include/sfx2/childwin.hxx +++ b/include/sfx2/childwin.hxx @@ -50,7 +50,7 @@ class SfxChildWindowContext; // ChildWindow Configuration struct SfxChildWinInfo { - sal_Bool bVisible; + sal_Bool bVisible; // this can be sal_True, or sal_False, or 42 Point aPos; Size aSize; sal_uInt16 nFlags; @@ -63,7 +63,7 @@ struct SfxChildWinInfo bVisible = sal_False; nFlags = 0; } - sal_Bool GetExtraData_Impl( SfxChildAlignment *pAlign, + bool GetExtraData_Impl( SfxChildAlignment *pAlign, SfxChildAlignment *pLastAlign = 0, Size *pSize = 0, sal_uInt16 *pLine = 0, @@ -141,7 +141,7 @@ public: FloatingWindow* GetFloatingWindow() const; virtual void Resizing( Size& rSize ); - virtual sal_Bool Close(); + virtual bool Close(); static void RegisterChildWindowContext(SfxModule*, sal_uInt16, SfxChildWinContextFactory*); }; @@ -181,13 +181,13 @@ public: { pWindow->SetPosSizePixel(rPoint, rSize); } Point GetPosPixel() { return pWindow->GetPosPixel(); } - virtual void Hide(); - virtual void Show( sal_uInt16 nFlags ); + virtual void Hide(); + virtual void Show( sal_uInt16 nFlags ); sal_uInt16 GetFlags() const { return GetInfo().nFlags; } - sal_Bool CanGetFocus() const; - sal_uInt16 GetPosition(); - sal_uInt16 GetType() + bool CanGetFocus() const; + sal_uInt16 GetPosition(); + sal_uInt16 GetType() { return nType; } void CreateContext( sal_uInt16 nContextId, SfxBindings& ); @@ -205,14 +205,14 @@ public: static void RegisterChildWindow(SfxModule*, SfxChildWinFactory*); static SfxChildWindow* CreateChildWindow( sal_uInt16, ::Window*, SfxBindings*, SfxChildWinInfo&); - void SetHideNotDelete( sal_Bool bOn ); - sal_Bool IsHideNotDelete() const; - sal_Bool IsHideAtToggle() const; + void SetHideNotDelete( bool bOn ); + bool IsHideNotDelete() const; + bool IsHideAtToggle() const; sal_Bool IsVisible() const; - void SetWantsFocus( sal_Bool ); - sal_Bool WantsFocus() const; + void SetWantsFocus( bool ); + bool WantsFocus() const; - virtual sal_Bool QueryClose(); + virtual bool QueryClose(); virtual com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > GetFrame(); void SetFrame( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > & ); diff --git a/include/svx/hyperdlg.hxx b/include/svx/hyperdlg.hxx index 9e86b6dccb84..fff6dc22cbe1 100644 --- a/include/svx/hyperdlg.hxx +++ b/include/svx/hyperdlg.hxx @@ -41,7 +41,7 @@ public: SfxBindings* pBindings, SfxChildWinInfo* pInfo ); SFX_DECL_CHILDWINDOW_WITHID(SvxHlinkDlgWrapper); - virtual sal_Bool QueryClose(); + virtual bool QueryClose(); }; #endif // INCLUDED_SVX_HYPERDLG_HXX |