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

Jochen Nitschke j.nitschke+logerrit at ok.de
Thu Sep 1 06:36:32 UTC 2016


 include/svl/itempool.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit fa5a9b970ebf73b2c3a316903ced1b1e8bddb2be
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date:   Wed Aug 31 20:01:03 2016 +0200

    hide SFX_WHICH_MAX define
    
    Change-Id: I90ef9d3712847ce63b2bae206edcf859dbeeecbb
    Reviewed-on: https://gerrit.libreoffice.org/28566
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/include/svl/itempool.hxx b/include/svl/itempool.hxx
index 8925b98..c2e1e2a 100644
--- a/include/svl/itempool.hxx
+++ b/include/svl/itempool.hxx
@@ -30,8 +30,6 @@ class SvStream;
 class SfxBroadcaster;
 struct SfxItemPool_Impl;
 
-#define SFX_WHICH_MAX 4999
-
 struct SfxItemInfo
 {
     sal_uInt16       _nSID;
@@ -212,6 +210,8 @@ private:
     const SfxItemPool&              operator=(const SfxItemPool &) = delete;
 
     static const SfxItemPool*       pStoringPool_;
+     //IDs below or equal are Which IDs, IDs above slot IDs
+    static const sal_uInt16         SFX_WHICH_MAX = 4999;
 };
 
 // only the pool may manipulate the reference counts


More information about the Libreoffice-commits mailing list