summaryrefslogtreecommitdiff
path: root/starmath/source/edit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/edit.cxx')
-rw-r--r--starmath/source/edit.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index edd7db345037..cc77f688eefc 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -554,8 +554,7 @@ IMPL_LINK( SmEditWindow, ScrollHdl, ScrollBar *, /*pScrollBar*/, void )
tools::Rectangle SmEditWindow::AdjustScrollBars()
{
const Size aOut( GetOutputSizePixel() );
- Point aPoint;
- tools::Rectangle aRect( aPoint, aOut );
+ tools::Rectangle aRect( Point(), aOut );
if (pVScrollBar && pHScrollBar && pScrollBox)
{