diff options
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/mathml/import.cxx | 4 | ||||
-rw-r--r-- | starmath/source/mathml/mathmlimport.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/starmath/source/mathml/import.cxx b/starmath/source/mathml/import.cxx index e9e94b0f3cc6..39b81b9aaed9 100644 --- a/starmath/source/mathml/import.cxx +++ b/starmath/source/mathml/import.cxx @@ -1267,12 +1267,12 @@ void SmMLImport::SetViewSettings(const Sequence<PropertyValue>& aViewProps) if (rValue.Name == "ViewAreaTop") { rValue.Value >>= nTmp; - aRect.SaturatingSetY(nTmp); + aRect.SaturatingSetPosY(nTmp); } else if (rValue.Name == "ViewAreaLeft") { rValue.Value >>= nTmp; - aRect.SaturatingSetX(nTmp); + aRect.SaturatingSetPosX(nTmp); } else if (rValue.Name == "ViewAreaWidth") { diff --git a/starmath/source/mathml/mathmlimport.cxx b/starmath/source/mathml/mathmlimport.cxx index 270e6911281c..131eda86bb9f 100644 --- a/starmath/source/mathml/mathmlimport.cxx +++ b/starmath/source/mathml/mathmlimport.cxx @@ -2599,12 +2599,12 @@ void SmXMLImport::SetViewSettings(const Sequence<PropertyValue>& aViewProps) if (rValue.Name == "ViewAreaTop") { rValue.Value >>= nTmp; - aRect.SaturatingSetY(nTmp); + aRect.SaturatingSetPosY(nTmp); } else if (rValue.Name == "ViewAreaLeft") { rValue.Value >>= nTmp; - aRect.SaturatingSetX(nTmp); + aRect.SaturatingSetPosX(nTmp); } else if (rValue.Name == "ViewAreaWidth") { |