summaryrefslogtreecommitdiff
path: root/sw/source/ui/inc/numfmtlb.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/inc/numfmtlb.hxx')
-rw-r--r--sw/source/ui/inc/numfmtlb.hxx32
1 files changed, 16 insertions, 16 deletions
diff --git a/sw/source/ui/inc/numfmtlb.hxx b/sw/source/ui/inc/numfmtlb.hxx
index 50d762dc4419..d21380f30358 100644
--- a/sw/source/ui/inc/numfmtlb.hxx
+++ b/sw/source/ui/inc/numfmtlb.hxx
@@ -36,49 +36,49 @@ class SwView;
class SW_DLLPUBLIC NumFormatListBox : public ListBox
{
short nCurrFormatType;
- USHORT nStdEntry;
- BOOL bOneArea;
- ULONG nDefFormat;
+ sal_uInt16 nStdEntry;
+ sal_Bool bOneArea;
+ sal_uLong nDefFormat;
SwView* pVw;
SvNumberFormatter* pOwnFormatter;
LanguageType eCurLanguage;
- BOOL bShowLanguageControl; //determine whether the language control has
+ sal_Bool bShowLanguageControl; //determine whether the language control has
//to be shown in the number format dialog
- BOOL bUseAutomaticLanguage;//determine whether language is automatically assigned
+ sal_Bool bUseAutomaticLanguage;//determine whether language is automatically assigned
SW_DLLPRIVATE DECL_LINK( SelectHdl, ListBox * );
SW_DLLPRIVATE double GetDefValue(const short nFormatType) const;
- SW_DLLPRIVATE void Init(short nFormatType, BOOL bUsrFmts);
+ SW_DLLPRIVATE void Init(short nFormatType, sal_Bool bUsrFmts);
SW_DLLPRIVATE SwView* GetView();
public:
NumFormatListBox( Window* pWin, const ResId& rResId,
- short nFormatType = NUMBERFORMAT_NUMBER, ULONG nDefFmt = 0,
- BOOL bUsrFmts = TRUE );
+ short nFormatType = NUMBERFORMAT_NUMBER, sal_uLong nDefFmt = 0,
+ sal_Bool bUsrFmts = sal_True );
NumFormatListBox( Window* pWin, SwView* pView, const ResId& rResId,
- short nFormatType = NUMBERFORMAT_NUMBER, ULONG nDefFmt = 0,
- BOOL bUsrFmts = TRUE );
+ short nFormatType = NUMBERFORMAT_NUMBER, sal_uLong nDefFmt = 0,
+ sal_Bool bUsrFmts = sal_True );
~NumFormatListBox();
void Clear();
- inline void SetOneArea(BOOL bOnlyOne = TRUE) { bOneArea = bOnlyOne; }
+ inline void SetOneArea(sal_Bool bOnlyOne = sal_True) { bOneArea = bOnlyOne; }
void SetFormatType(const short nFormatType);
inline short GetFormatType() const { return nCurrFormatType; }
- void SetDefFormat(const ULONG nDefFmt);
- ULONG GetFormat() const;
+ void SetDefFormat(const sal_uLong nDefFmt);
+ sal_uLong GetFormat() const;
inline LanguageType GetCurLanguage() const { return eCurLanguage;}
void SetLanguage(LanguageType eSet) { eCurLanguage = eSet;}
- void SetAutomaticLanguage(BOOL bSet){bUseAutomaticLanguage = bSet;}
- BOOL IsAutomaticLanguage()const {return bUseAutomaticLanguage;}
+ void SetAutomaticLanguage(sal_Bool bSet){bUseAutomaticLanguage = bSet;}
+ sal_Bool IsAutomaticLanguage()const {return bUseAutomaticLanguage;}
- void SetShowLanguageControl(BOOL bSet){bShowLanguageControl = bSet;}
+ void SetShowLanguageControl(sal_Bool bSet){bShowLanguageControl = bSet;}
};