Kaydet (Commit) 7153fcb7 authored tarafından Noel Grandin's avatar Noel Grandin

SfxSimpleHint only needs a sal_uInt32 for the hint

Change-Id: I7f7f99ba93d4f06575228e62f96703fd2c54c469
Reviewed-on: https://gerrit.libreoffice.org/16271Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst ea1ea3b9
...@@ -49,10 +49,10 @@ ...@@ -49,10 +49,10 @@
class SVL_DLLPUBLIC SfxSimpleHint: public SfxHint class SVL_DLLPUBLIC SfxSimpleHint: public SfxHint
{ {
private: private:
sal_uLong mnId; sal_uInt32 mnId;
public: public:
SfxSimpleHint( sal_uLong nId ) { mnId = nId; } SfxSimpleHint( sal_uInt32 nId ) { mnId = nId; }
sal_uLong GetId() const { return mnId; } sal_uInt32 GetId() const { return mnId; }
}; };
#endif #endif
......
...@@ -30,12 +30,12 @@ ...@@ -30,12 +30,12 @@
#include <unotools/options.hxx> #include <unotools/options.hxx>
// bits for broadcasting hints of changes in a SfxSimpleHint, may be combined // bits for broadcasting hints of changes in a SfxSimpleHint, may be combined
const sal_uLong SYSLOCALEOPTIONS_HINT_LOCALE = 0x00000001; const sal_uInt32 SYSLOCALEOPTIONS_HINT_LOCALE = 0x00000001;
const sal_uLong SYSLOCALEOPTIONS_HINT_CURRENCY = 0x00000002; const sal_uInt32 SYSLOCALEOPTIONS_HINT_CURRENCY = 0x00000002;
const sal_uLong SYSLOCALEOPTIONS_HINT_UILOCALE = 0x00000004; const sal_uInt32 SYSLOCALEOPTIONS_HINT_UILOCALE = 0x00000004;
const sal_uLong SYSLOCALEOPTIONS_HINT_DECSEP = 0x00000008; const sal_uInt32 SYSLOCALEOPTIONS_HINT_DECSEP = 0x00000008;
const sal_uLong SYSLOCALEOPTIONS_HINT_DATEPATTERNS = 0x00000010; const sal_uInt32 SYSLOCALEOPTIONS_HINT_DATEPATTERNS = 0x00000010;
const sal_uLong SYSLOCALEOPTIONS_HINT_IGNORELANG = 0x00000020; const sal_uInt32 SYSLOCALEOPTIONS_HINT_IGNORELANG = 0x00000020;
class SvtSysLocaleOptions_Impl; class SvtSysLocaleOptions_Impl;
class SvtListener; class SvtListener;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment