summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-08-31 20:01:03 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-09-01 06:36:08 +0000
commitfa5a9b970ebf73b2c3a316903ced1b1e8bddb2be (patch)
treea3078687b7d0369ba21b4ab6b4c40a40dc762f6d /include/svl
parent1b86c57b08986109a7a5d431407fde273ab242d0 (diff)
hide SFX_WHICH_MAX define
Change-Id: I90ef9d3712847ce63b2bae206edcf859dbeeecbb Reviewed-on: https://gerrit.libreoffice.org/28566 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/itempool.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svl/itempool.hxx b/include/svl/itempool.hxx
index 8925b98439ef..c2e1e2a2f2dd 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