summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo/undobase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/undo/undobase.cxx')
-rw-r--r--sc/source/ui/undo/undobase.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/undo/undobase.cxx b/sc/source/ui/undo/undobase.cxx
index 23bb99345fda..ec0f98366b0d 100644
--- a/sc/source/ui/undo/undobase.cxx
+++ b/sc/source/ui/undo/undobase.cxx
@@ -258,8 +258,8 @@ bool ScBlockUndo::AdjustHeight()
ScDocument& rDoc = pDocShell->GetDocument();
VirtualDevice aVirtDev;
- boost::rational<long> aZoomX( 1, 1 );
- boost::rational<long> aZoomY = aZoomX;
+ boost::rational<sal_Int64> aZoomX( 1, 1 );
+ boost::rational<sal_Int64> aZoomY = aZoomX;
double nPPTX, nPPTY;
ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell();
if (pViewShell)
@@ -356,8 +356,8 @@ void ScMultiBlockUndo::AdjustHeight()
ScDocument& rDoc = pDocShell->GetDocument();
VirtualDevice aVirtDev;
- boost::rational<long> aZoomX( 1, 1 );
- boost::rational<long> aZoomY = aZoomX;
+ boost::rational<sal_Int64> aZoomX( 1, 1 );
+ boost::rational<sal_Int64> aZoomY = aZoomX;
double nPPTX, nPPTY;
ScTabViewShell* pViewShell = ScTabViewShell::GetActiveViewShell();
if (pViewShell)