diff options
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 ); |