diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:28:06 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:28:06 +0200 |
commit | eac0f3023c920325a4c58bcf6d5d57041128c06e (patch) | |
tree | 4a21b205d6107c829574b1740c1210ea9e5cd46d /starmath/source/dialog.cxx | |
parent | 54bac4ddafbf330ad2ab17d69f09d5f67664d01b (diff) |
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: Ife37243f051e23ebdd5d8d8692b59a748d491a26
Diffstat (limited to 'starmath/source/dialog.cxx')
-rw-r--r-- | starmath/source/dialog.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index 2d90b6a6e3b6..59a08b59d6a5 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -2363,7 +2363,7 @@ void SmSymDefineDialog::SetFont(const OUString &rFontName, const OUString &rStyl while( NULL != (pSubset = pSubsetMap->GetNextSubset( bFirst )) ) { sal_uInt16 nPos = pFontsSubsetLB->InsertEntry( pSubset->GetName()); - pFontsSubsetLB->SetEntryData( nPos, (void *) pSubset ); + pFontsSubsetLB->SetEntryData( nPos, const_cast<Subset *>(pSubset) ); // subset must live at least as long as the selected font !!! if( bFirst ) pFontsSubsetLB->SelectEntryPos( nPos ); |