summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/sizedev.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/docshell/sizedev.cxx')
-rw-r--r--sc/source/ui/docshell/sizedev.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/sizedev.cxx b/sc/source/ui/docshell/sizedev.cxx
index e0ff33c205c1..99524b6c69cc 100644
--- a/sc/source/ui/docshell/sizedev.cxx
+++ b/sc/source/ui/docshell/sizedev.cxx
@@ -49,7 +49,7 @@ ScSizeDeviceProvider::ScSizeDeviceProvider( ScDocShell* pDocSh )
nPPTY = aLogic.Y() / 1000.0;
if ( !bTextWysiwyg )
- nPPTX /= pDocSh->GetOutputFactor();
+ nPPTX /= static_cast< double >( pDocSh->GetOutputFactor() );
}
ScSizeDeviceProvider::~ScSizeDeviceProvider()