summaryrefslogtreecommitdiff
path: root/starmath/source/mathmlimport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/mathmlimport.cxx')
-rw-r--r--starmath/source/mathmlimport.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx
index ed207aaa0f0b..59b42570a2d0 100644
--- a/starmath/source/mathmlimport.cxx
+++ b/starmath/source/mathmlimport.cxx
@@ -3067,12 +3067,12 @@ void SmXMLImport::SetViewSettings(const Sequence<PropertyValue>& aViewProps)
if (pValue->Name == "ViewAreaTop" )
{
pValue->Value >>= nTmp;
- aRect.setY( nTmp );
+ aRect.SaturatingSetY(nTmp);
}
else if (pValue->Name == "ViewAreaLeft" )
{
pValue->Value >>= nTmp;
- aRect.setX( nTmp );
+ aRect.SaturatingSetX(nTmp);
}
else if (pValue->Name == "ViewAreaWidth" )
{