summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/drawvie4.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/drawvie4.cxx')
-rw-r--r--sc/source/ui/view/drawvie4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/drawvie4.cxx b/sc/source/ui/view/drawvie4.cxx
index d9c0a691ce6d..4171f15c7916 100644
--- a/sc/source/ui/view/drawvie4.cxx
+++ b/sc/source/ui/view/drawvie4.cxx
@@ -443,7 +443,7 @@ void ScDrawView::CalcNormScale( Fraction& rFractX, Fraction& rFractY ) const
double nPPTY = ScGlobal::nScreenPPTY;
if (pViewData)
- nPPTX /= pViewData->GetDocShell()->GetOutputFactor();
+ nPPTX /= static_cast< double >( pViewData->GetDocShell()->GetOutputFactor() );
SCCOL nEndCol = 0;
SCROW nEndRow = 0;