diff options
Diffstat (limited to 'sc/source/ui/inc/viewdata.hxx')
-rw-r--r-- | sc/source/ui/inc/viewdata.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/inc/viewdata.hxx b/sc/source/ui/inc/viewdata.hxx index a87f3dbe6f11..26f372a33767 100644 --- a/sc/source/ui/inc/viewdata.hxx +++ b/sc/source/ui/inc/viewdata.hxx @@ -602,7 +602,7 @@ public: inline long ScViewData::ToPixel( sal_uInt16 nTwips, double nFactor ) { - long nRet = (long)( nTwips * nFactor ); + long nRet = static_cast<long>( nTwips * nFactor ); if ( !nRet && nTwips ) nRet = 1; return nRet; |