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

New commits:
commit fa5a9b970ebf73b2c3a316903ced1b1e8bddb2be
Author: Jochen Nitschke <j.nitschke+loger...@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 <c...@libreoffice.org>
    Reviewed-by: Noel Grandin <noelgran...@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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to