diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-03-30 17:27:59 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-03-30 17:34:17 +0200 |
commit | fb5ede9e31dd2fee767d7e5438c8e3376e926daa (patch) | |
tree | 590f7e2e9e1dda20b1c3c3ab2639d5af059d2a51 /svl | |
parent | 05322eb0ad1b1ff676e7f2e583d747079803e12a (diff) |
add const
Diffstat (limited to 'svl')
-rw-r--r-- | svl/inc/svl/itempool.hxx | 2 | ||||
-rw-r--r-- | svl/source/inc/poolio.hxx | 4 | ||||
-rw-r--r-- | svl/source/items/poolio.cxx | 2 |
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. */ ) |