summaryrefslogtreecommitdiff
path: root/svx/source/customshapes/EnhancedCustomShape3d.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/customshapes/EnhancedCustomShape3d.cxx')
-rw-r--r--svx/source/customshapes/EnhancedCustomShape3d.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShape3d.cxx b/svx/source/customshapes/EnhancedCustomShape3d.cxx
index 0a810de128d1..0c683d7e5860 100644
--- a/svx/source/customshapes/EnhancedCustomShape3d.cxx
+++ b/svx/source/customshapes/EnhancedCustomShape3d.cxx
@@ -262,7 +262,7 @@ SdrObject* EnhancedCustomShape3d::Create3DObject( const SdrObject* pShape2d, con
if ( pModel )
{
fMap = 1.0;
- boost::rational<long> aFraction( pModel->GetScaleFraction() );
+ boost::rational<sal_Int64> aFraction( pModel->GetScaleFraction() );
if ( ( aFraction.numerator() ) != 1 || ( aFraction.denominator() != 1 ) )
{
fMap *= aFraction.numerator();