diff options
Diffstat (limited to 'sw/source/ui/inc/cfgdesc.hxx')
-rw-r--r-- | sw/source/ui/inc/cfgdesc.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sw/source/ui/inc/cfgdesc.hxx b/sw/source/ui/inc/cfgdesc.hxx index 81732b05c208..6a45826c9019 100644 --- a/sw/source/ui/inc/cfgdesc.hxx +++ b/sw/source/ui/inc/cfgdesc.hxx @@ -34,25 +34,25 @@ class SwCfgDesc protected: String aFuncText; String aLibName; - USHORT nEvent; + sal_uInt16 nEvent; - SwCfgDesc(const String &rFuncName, USHORT nId); + SwCfgDesc(const String &rFuncName, sal_uInt16 nId); SwCfgDesc(const String &rLib,const String &rMacro); ~SwCfgDesc(); public: - void SetEvent(USHORT nE); // inline + void SetEvent(sal_uInt16 nE); // inline void SetFuncText(const String &rStr); // inline void SetMacro(const String &rLib, const String &rMac); - BOOL IsMacro() const; - USHORT GetEvent() const; // inline + sal_Bool IsMacro() const; + sal_uInt16 GetEvent() const; // inline String GetFuncText() const; // inline String GetMacro() const; // inline String GetLib() const; // inline }; // INLINE METHODE -------------------------------------------------------- -inline void SwCfgDesc::SetEvent(USHORT nE) { +inline void SwCfgDesc::SetEvent(sal_uInt16 nE) { nEvent = nE; } @@ -60,7 +60,7 @@ inline void SwCfgDesc::SetFuncText(const String &rStr) { aFuncText = rStr; } -inline USHORT SwCfgDesc::GetEvent() const { return nEvent; } +inline sal_uInt16 SwCfgDesc::GetEvent() const { return nEvent; } inline String SwCfgDesc::GetFuncText() const { return aFuncText; } inline String SwCfgDesc::GetMacro() const { return aFuncText; } inline String SwCfgDesc::GetLib() const { return aLibName; } |