diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-10 09:39:17 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-11-10 15:22:15 +0200 |
commit | 5cb6144f2119aa1dcce161724abfc22ead1d20b5 (patch) | |
tree | 1296cb64a64b4f8bb7ec633ee605c9ef80a5dee7 /sw/inc/swatrset.hxx | |
parent | 7623a4832441691a486673cea981ef32b8d72ae7 (diff) |
loplugin: cstylecast
Change-Id: Ie57f543681790e662f6ac7d074ccb37925999790
Diffstat (limited to 'sw/inc/swatrset.hxx')
-rw-r--r-- | sw/inc/swatrset.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/swatrset.hxx b/sw/inc/swatrset.hxx index b60bc45c02cc..e9d9395b46f9 100644 --- a/sw/inc/swatrset.hxx +++ b/sw/inc/swatrset.hxx @@ -199,7 +199,7 @@ public: void GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, OUString &rText ) const; - SwAttrPool* GetPool() const { return (SwAttrPool*)SfxItemSet::GetPool(); } + SwAttrPool* GetPool() const { return static_cast<SwAttrPool*>(SfxItemSet::GetPool()); } // Copy attributes, if necessary across documents. void CopyToModify( SwModify& rMod ) const; |