diff options
Diffstat (limited to 'sw/source/ui/inc/wrap.hxx')
-rw-r--r-- | sw/source/ui/inc/wrap.hxx | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/sw/source/ui/inc/wrap.hxx b/sw/source/ui/inc/wrap.hxx index e0fc8a394c5f..6ca664ea5d84 100644 --- a/sw/source/ui/inc/wrap.hxx +++ b/sw/source/ui/inc/wrap.hxx @@ -55,7 +55,7 @@ class SwWrapDlg : public SfxSingleTabDialog SwWrtShell* pWrtShell; public: - SwWrapDlg(Window* pParent, SfxItemSet& rSet, SwWrtShell* pSh, BOOL bDrawMode); + SwWrapDlg(Window* pParent, SfxItemSet& rSet, SwWrtShell* pSh, sal_Bool bDrawMode); ~SwWrapDlg(); inline SwWrtShell* GetWrtShell() { return pWrtShell; } @@ -99,22 +99,22 @@ class SwWrapTabPage: public SfxTabPage ImageList aWrapIL; ImageList aWrapILH; - USHORT nOldLeftMargin; - USHORT nOldRightMargin; - USHORT nOldUpperMargin; - USHORT nOldLowerMargin; + sal_uInt16 nOldLeftMargin; + sal_uInt16 nOldRightMargin; + sal_uInt16 nOldUpperMargin; + sal_uInt16 nOldLowerMargin; RndStdIds nAnchorId; - USHORT nHtmlMode; + sal_uInt16 nHtmlMode; Size aFrmSize; SwWrtShell* pWrtSh; - BOOL bFormat; - BOOL bNew; - BOOL bHtmlMode; - BOOL bDrawMode; - BOOL bContourImage; + sal_Bool bFormat; + sal_Bool bNew; + sal_Bool bHtmlMode; + sal_Bool bDrawMode; + sal_Bool bContourImage; SwWrapTabPage(Window *pParent, const SfxItemSet &rSet); ~SwWrapTabPage(); @@ -136,12 +136,12 @@ public: static SfxTabPage *Create(Window *pParent, const SfxItemSet &rSet); - virtual BOOL FillItemSet(SfxItemSet &rSet); + virtual sal_Bool FillItemSet(SfxItemSet &rSet); virtual void Reset(const SfxItemSet &rSet); - static USHORT* GetRanges(); - inline void SetNewFrame(BOOL bNewFrame) { bNew = bNewFrame; } - inline void SetFormatUsed(BOOL bFmt, BOOL bDrw) { bFormat = bFmt; + static sal_uInt16* GetRanges(); + inline void SetNewFrame(sal_Bool bNewFrame) { bNew = bNewFrame; } + inline void SetFormatUsed(sal_Bool bFmt, sal_Bool bDrw) { bFormat = bFmt; bDrawMode = bDrw; } inline void SetShell(SwWrtShell* pSh) { pWrtSh = pSh; } }; |