summaryrefslogtreecommitdiffstats
path: root/svl/source/items/stylepool.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-28 11:47:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-28 14:51:56 +0200
commitb09deb075319c1c19f91e3a6f64429b61682ebf8 (patch)
tree9e73d1e63092083a337a4ddf1dfe962b4f6ef4dc /svl/source/items/stylepool.cxx
parentsw htmlexport: Avoid unnecessary conversion to base64 + unit tests. (diff)
downloadcore-b09deb075319c1c19f91e3a6f64429b61682ebf8.tar.gz
core-b09deb075319c1c19f91e3a6f64429b61682ebf8.zip
loplugin:constparams handle constructors
had to change the structure of the plugin considerably, was too messy to structure it to do the calculations on a per-function basis Change-Id: I4edee7735f726101105c607368124a08dba21086 Reviewed-on: https://gerrit.libreoffice.org/40516 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl/source/items/stylepool.cxx')
-rw-r--r--svl/source/items/stylepool.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/items/stylepool.cxx b/svl/source/items/stylepool.cxx
index cfc61ab4ed0e..15be4eb971ed 100644
--- a/svl/source/items/stylepool.cxx
+++ b/svl/source/items/stylepool.cxx
@@ -350,7 +350,7 @@ private:
std::unique_ptr<SfxItemSet> mpIgnorableItems;
public:
// #i86923#
- explicit StylePoolImpl( SfxItemSet* pIgnorableItems )
+ explicit StylePoolImpl( SfxItemSet const * pIgnorableItems )
: maRoot(),
mpIgnorableItems( pIgnorableItems != nullptr
? pIgnorableItems->Clone( false )
@@ -444,7 +444,7 @@ IStylePoolIteratorAccess* StylePoolImpl::createIterator( bool bSkipUnusedItemSet
// Ctor, Dtor and redirected methods of class StylePool, nearly inline ;-)
// #i86923#
-StylePool::StylePool( SfxItemSet* pIgnorableItems )
+StylePool::StylePool( SfxItemSet const * pIgnorableItems )
: pImpl( new StylePoolImpl( pIgnorableItems ) )
{}