diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-02 11:28:15 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-02 11:28:15 +0200 |
commit | fea2e004d4236da14f878cb2da0a76ded3ee77c2 (patch) | |
tree | db9b26417fbb9e76ad255263538985f609e7f6fb /svtools/source/control | |
parent | a2d5dc55f4d985cf80d33732eb45d1b60d7018f0 (diff) |
loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: I5e665deb034b564de90e65981384ea5a2d892980
Diffstat (limited to 'svtools/source/control')
-rw-r--r-- | svtools/source/control/ctrltool.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/control/ctrltool.cxx b/svtools/source/control/ctrltool.cxx index b8d32ec1cc23..a39c169c5802 100644 --- a/svtools/source/control/ctrltool.cxx +++ b/svtools/source/control/ctrltool.cxx @@ -715,13 +715,13 @@ sal_Handle FontList::GetFirstFontInfo(const OUString& rName) const sal_Handle FontList::GetNextFontInfo( sal_Handle hFontInfo ) { - ImplFontListFontInfo* pInfo = static_cast<ImplFontListFontInfo*>((void*)hFontInfo); + ImplFontListFontInfo* pInfo = static_cast<ImplFontListFontInfo*>(hFontInfo); return (sal_Handle)(pInfo->mpNext); } const vcl::FontInfo& FontList::GetFontInfo( sal_Handle hFontInfo ) { - ImplFontListFontInfo* pInfo = static_cast<ImplFontListFontInfo*>((void*)hFontInfo); + ImplFontListFontInfo* pInfo = static_cast<ImplFontListFontInfo*>(hFontInfo); return *pInfo; } |