summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabvwshh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/tabvwshh.cxx')
-rw-r--r--sc/source/ui/view/tabvwshh.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/view/tabvwshh.cxx b/sc/source/ui/view/tabvwshh.cxx
index 46503dae69a7..641998930843 100644
--- a/sc/source/ui/view/tabvwshh.cxx
+++ b/sc/source/ui/view/tabvwshh.cxx
@@ -121,12 +121,12 @@ void ScTabViewShell::ExecuteObject( SfxRequest& rReq )
pDrView->MoveMarkedObj( Size( 0, nNewVal - aRect.Top() ) );
else if ( nSlotId == SID_OBJECT_WIDTH )
pDrView->ResizeMarkedObj( aRect.TopLeft(),
- boost::rational<long>( nNewVal, aRect.GetWidth() ),
- boost::rational<long>( 1, 1 ) );
+ boost::rational<sal_Int64>( nNewVal, aRect.GetWidth() ),
+ boost::rational<sal_Int64>( 1, 1 ) );
else // if ( nSlotId == SID_OBJECT_HEIGHT )
pDrView->ResizeMarkedObj( aRect.TopLeft(),
- boost::rational<long>( 1, 1 ),
- boost::rational<long>( nNewVal, aRect.GetHeight() ) );
+ boost::rational<sal_Int64>( 1, 1 ),
+ boost::rational<sal_Int64>( nNewVal, aRect.GetHeight() ) );
bDone = true;
}
}