summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls/fontworkgallery.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/tbxctrls/fontworkgallery.cxx')
-rw-r--r--svx/source/tbxctrls/fontworkgallery.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/fontworkgallery.cxx b/svx/source/tbxctrls/fontworkgallery.cxx
index ba77ccd5beed..51d71a102b0b 100644
--- a/svx/source/tbxctrls/fontworkgallery.cxx
+++ b/svx/source/tbxctrls/fontworkgallery.cxx
@@ -174,7 +174,7 @@ void FontWorkGalleryDialog::fillFavorites(sal_uInt16 nThemeId)
aStr += " ";
aStr += OUString::number(nFavorite);
Image aThumbImage( maFavoritesHorizontal[nFavorite-1] );
- mpCtlFavorites->InsertItem( (sal_uInt16)nFavorite, aThumbImage, aStr );
+ mpCtlFavorites->InsertItem( static_cast<sal_uInt16>(nFavorite), aThumbImage, aStr );
}
}
@@ -651,7 +651,7 @@ void FontworkCharacterSpacingDialog::dispose()
sal_Int32 FontworkCharacterSpacingDialog::getScale() const
{
- return (sal_Int32)m_pMtrScale->GetValue();
+ return static_cast<sal_Int32>(m_pMtrScale->GetValue());
}
}