summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--svl/inc/svl/itempool.hxx2
-rw-r--r--svl/source/inc/poolio.hxx4
-rw-r--r--svl/source/items/poolio.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/svl/inc/svl/itempool.hxx b/svl/inc/svl/itempool.hxx
index 15e88e91e0c1..12f70670663b 100644
--- a/svl/inc/svl/itempool.hxx
+++ b/svl/inc/svl/itempool.hxx
@@ -225,7 +225,7 @@ public:
void SetVersionMap( sal_uInt16 nVer,
sal_uInt16 nOldStart, sal_uInt16 nOldEnd,
- sal_uInt16 *pWhichIdTab );
+ const sal_uInt16 *pWhichIdTab );
sal_uInt16 GetNewWhich( sal_uInt16 nOldWhich ) const;
sal_uInt16 GetVersion() const;
void SetFileFormatVersion( sal_uInt16 nFileFormatVersion );
diff --git a/svl/source/inc/poolio.hxx b/svl/source/inc/poolio.hxx
index d59792ec285f..b334e057d6df 100644
--- a/svl/source/inc/poolio.hxx
+++ b/svl/source/inc/poolio.hxx
@@ -39,10 +39,10 @@ struct SfxPoolVersion_Impl
{
sal_uInt16 _nVer;
sal_uInt16 _nStart, _nEnd;
- sal_uInt16* _pMap;
+ const sal_uInt16* _pMap;
SfxPoolVersion_Impl( sal_uInt16 nVer, sal_uInt16 nStart, sal_uInt16 nEnd,
- sal_uInt16 *pMap )
+ const sal_uInt16 *pMap )
: _nVer( nVer ),
_nStart( nStart ),
_nEnd( nEnd ),
diff --git a/svl/source/items/poolio.cxx b/svl/source/items/poolio.cxx
index 92e1d7edadd2..416a5957b07a 100644
--- a/svl/source/items/poolio.cxx
+++ b/svl/source/items/poolio.cxx
@@ -1267,7 +1267,7 @@ void SfxItemPool::SetVersionMap
sal_uInt16 nVer, /* neue Versionsnummer */
sal_uInt16 nOldStart, /* alte erste Which-Id */
sal_uInt16 nOldEnd, /* alte letzte Which-Id */
- sal_uInt16* pOldWhichIdTab /* Array mit genau dem Aufbau der Which-Ids
+ const sal_uInt16* pOldWhichIdTab /* Array mit genau dem Aufbau der Which-Ids
der vorhergehenden Version, in denen
die jeweils neue Which-Id steht. */
)