summaryrefslogtreecommitdiff
path: root/sw/source/ui/inc/frmmgr.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/inc/frmmgr.hxx')
-rw-r--r--sw/source/ui/inc/frmmgr.hxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/sw/source/ui/inc/frmmgr.hxx b/sw/source/ui/inc/frmmgr.hxx
index 09d878c10e..631f57297b 100644
--- a/sw/source/ui/inc/frmmgr.hxx
+++ b/sw/source/ui/inc/frmmgr.hxx
@@ -62,9 +62,9 @@ class SW_DLLPUBLIC SwFlyFrmAttrMgr
Point aAbsPos;
SwWrtShell *pOwnSh;
- BOOL bAbsPos,
+ sal_Bool bAbsPos,
bNewFrm;
- BOOL bIsInVertical;
+ sal_Bool bIsInVertical;
// interne Verrechnung fuer Umrandung
SW_DLLPRIVATE SwTwips CalcTopSpace();
@@ -75,10 +75,10 @@ class SW_DLLPUBLIC SwFlyFrmAttrMgr
SW_DLLPRIVATE void _UpdateFlyFrm(); //Nacharbeit nach Einfuegen oder Update
public:
- SwFlyFrmAttrMgr( BOOL bNew, SwWrtShell* pSh, BYTE nType );
+ SwFlyFrmAttrMgr( sal_Bool bNew, SwWrtShell* pSh, sal_uInt8 nType );
//CopyCtor fuer die Dialoge, zum Pruefen der Metrics
- SwFlyFrmAttrMgr( BOOL bNew, SwWrtShell *pSh, const SfxItemSet &rSet );
+ SwFlyFrmAttrMgr( sal_Bool bNew, SwWrtShell *pSh, const SfxItemSet &rSet );
inline SwWrtShell* GetShell() { return pOwnSh; }
@@ -99,7 +99,7 @@ public:
void SetSize(const Size& rLSize);
inline const Size& GetSize() const;
- inline USHORT GetHeightPercent() const;
+ inline sal_uInt16 GetHeightPercent() const;
void SetHeightSizeType(SwFrmSize eType);
@@ -116,18 +116,18 @@ public:
void UpdateFlyFrm();
// neuen Rahmen erzeugen
- BOOL InsertFlyFrm();
+ sal_Bool InsertFlyFrm();
void InsertFlyFrm(RndStdIds eAnchorType,
const Point &rPos,
const Size &rSize,
- BOOL bAbsPos = FALSE);
+ sal_Bool bAbsPos = sal_False);
// Metriken pruefen und aendern
void ValidateMetrics(SvxSwFrameValidation& rVal,
const SwPosition* pToCharCntntPos,
- BOOL bOnlyPercentRefValue = FALSE);
+ sal_Bool bOnlyPercentRefValue = sal_False);
- void DelAttr(USHORT nId);
+ void DelAttr(sal_uInt16 nId);
// Set rausreichen
inline const SfxItemSet &GetAttrSet() const { return aSet; }
@@ -185,7 +185,7 @@ inline RndStdIds SwFlyFrmAttrMgr::GetAnchor() const
return ((SwFmtAnchor&)aSet.Get(RES_ANCHOR)).GetAnchorId();
}
-inline USHORT SwFlyFrmAttrMgr::GetHeightPercent() const
+inline sal_uInt16 SwFlyFrmAttrMgr::GetHeightPercent() const
{
return GetFrmSize().GetHeightPercent();
}