summaryrefslogtreecommitdiff
path: root/starmath/source/utility.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:28:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:28:06 +0200
commiteac0f3023c920325a4c58bcf6d5d57041128c06e (patch)
tree4a21b205d6107c829574b1740c1210ea9e5cd46d /starmath/source/utility.cxx
parent54bac4ddafbf330ad2ab17d69f09d5f67664d01b (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: Ife37243f051e23ebdd5d8d8692b59a748d491a26
Diffstat (limited to 'starmath/source/utility.cxx')
-rw-r--r--starmath/source/utility.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/utility.cxx b/starmath/source/utility.cxx
index 8814636f0968..abd2e5e8480f 100644
--- a/starmath/source/utility.cxx
+++ b/starmath/source/utility.cxx
@@ -181,7 +181,7 @@ SmFontPickListBox& SmFontPickListBox::operator=(const SmFontPickList& rList)
{
sal_uInt16 nPos;
- *(SmFontPickList *)this = rList;
+ *static_cast<SmFontPickList *>(this) = rList;
for (nPos = 0; nPos < aFontVec.size(); nPos++)
InsertEntry(GetStringItem(aFontVec[nPos]), nPos);