summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-02 11:28:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-02 11:28:00 +0200
commit8c8bdc6091b7373dcf9ccf98fe1b8e7af914c9a4 (patch)
treeab445469fca560d0035ac5d461bdb9cd641dcba2 /include
parent609707dd218613c5bd2416d681cba78c9cefdca6 (diff)
loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: I60298e919c29454c0a3bc8d745029e4a5d4cbea6
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/styfitem.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sfx2/styfitem.hxx b/include/sfx2/styfitem.hxx
index a3ed4d9a9f3d..12f708310f9f 100644
--- a/include/sfx2/styfitem.hxx
+++ b/include/sfx2/styfitem.hxx
@@ -76,7 +76,7 @@ public:
{ return aEntryList.size(); }
const SfxStyleFamilyItem* at(size_t nIdx) const
- { return (SfxStyleFamilyItem*)(aEntryList.empty() ? NULL : aEntryList[nIdx]); }
+ { return aEntryList.empty() ? NULL : aEntryList[nIdx]; }
/** updates the images of all single SfxStyleFamilyItems with new images from the given resource