[Libreoffice-commits] core.git: include/svl include/unotools

Noel Grandin noelgrandin at gmail.com
Mon Jun 29 00:57:14 PDT 2015


 include/svl/smplhint.hxx              |    6 +++---
 include/unotools/syslocaleoptions.hxx |   12 ++++++------
 2 files changed, 9 insertions(+), 9 deletions(-)

New commits:
commit 7153fcb7c4a76d30d9ccc3303c1498dff79649b9
Author: Noel Grandin <noelgrandin at gmail.com>
Date:   Sun Jun 14 13:47:56 2015 +0200

    SfxSimpleHint only needs a sal_uInt32 for the hint
    
    Change-Id: I7f7f99ba93d4f06575228e62f96703fd2c54c469
    Reviewed-on: https://gerrit.libreoffice.org/16271
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/include/svl/smplhint.hxx b/include/svl/smplhint.hxx
index 5c0c7ed..bdf9800 100644
--- a/include/svl/smplhint.hxx
+++ b/include/svl/smplhint.hxx
@@ -49,10 +49,10 @@
 class SVL_DLLPUBLIC SfxSimpleHint: public SfxHint
 {
 private:
-    sal_uLong mnId;
+    sal_uInt32 mnId;
 public:
-    SfxSimpleHint( sal_uLong nId ) { mnId = nId; }
-    sal_uLong GetId() const { return mnId; }
+    SfxSimpleHint( sal_uInt32 nId ) { mnId = nId; }
+    sal_uInt32 GetId() const { return mnId; }
 };
 
 #endif
diff --git a/include/unotools/syslocaleoptions.hxx b/include/unotools/syslocaleoptions.hxx
index a41d7ec..cd62d85 100644
--- a/include/unotools/syslocaleoptions.hxx
+++ b/include/unotools/syslocaleoptions.hxx
@@ -30,12 +30,12 @@
 #include <unotools/options.hxx>
 
 // bits for broadcasting hints of changes in a SfxSimpleHint, may be combined
-const sal_uLong SYSLOCALEOPTIONS_HINT_LOCALE       = 0x00000001;
-const sal_uLong SYSLOCALEOPTIONS_HINT_CURRENCY     = 0x00000002;
-const sal_uLong SYSLOCALEOPTIONS_HINT_UILOCALE     = 0x00000004;
-const sal_uLong SYSLOCALEOPTIONS_HINT_DECSEP       = 0x00000008;
-const sal_uLong SYSLOCALEOPTIONS_HINT_DATEPATTERNS = 0x00000010;
-const sal_uLong SYSLOCALEOPTIONS_HINT_IGNORELANG   = 0x00000020;
+const sal_uInt32 SYSLOCALEOPTIONS_HINT_LOCALE       = 0x00000001;
+const sal_uInt32 SYSLOCALEOPTIONS_HINT_CURRENCY     = 0x00000002;
+const sal_uInt32 SYSLOCALEOPTIONS_HINT_UILOCALE     = 0x00000004;
+const sal_uInt32 SYSLOCALEOPTIONS_HINT_DECSEP       = 0x00000008;
+const sal_uInt32 SYSLOCALEOPTIONS_HINT_DATEPATTERNS = 0x00000010;
+const sal_uInt32 SYSLOCALEOPTIONS_HINT_IGNORELANG   = 0x00000020;
 
 class SvtSysLocaleOptions_Impl;
 class SvtListener;


More information about the Libreoffice-commits mailing list