diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-09-01 01:27:42 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-09-01 06:37:15 +0000 |
commit | d22525fcb03497a38ef5c9308ae7b50416ea9fb2 (patch) | |
tree | 7a90d81f97dc8c47079bbd1c5926e5f6f9f1bf39 /svl/source/items | |
parent | fa5a9b970ebf73b2c3a316903ced1b1e8bddb2be (diff) |
avoid warning in PoolItemTest
> warn:legacy.tools:19758:1:svl/source/inc/poolio.hxx:139:
> Start-Which-Id must be greater 0
adapt ID range in the test
and leave usage comment in SfxItemPool ctor params
Change-Id: I93150be8d3d1e330c6574b9f8d05b3b1ef2ffa43
Reviewed-on: https://gerrit.libreoffice.org/28570
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svl/source/items')
-rw-r--r-- | svl/source/items/itempool.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx index 2b3d9ff4685f..fc250c36914f 100644 --- a/svl/source/items/itempool.cxx +++ b/svl/source/items/itempool.cxx @@ -164,7 +164,7 @@ SfxBroadcaster& SfxItemPool::BC() SfxItemPool::SfxItemPool ( const OUString& rName, /* Pool name to identify in the file format */ - sal_uInt16 nStartWhich, /* First WhichId of the Pool */ + sal_uInt16 nStartWhich, /* First WhichId of the Pool (must be > 0) */ sal_uInt16 nEndWhich, /* Last WhichId of the Pool */ const SfxItemInfo* pInfo, /* SID Map and Item flags */ SfxPoolItem** pDefaults, /* Pointer to static Defaults; |