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.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index 9a6bc2f0d1b5..5c79de85524b 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -293,7 +293,7 @@ void SmEditWindow::Resize()
pEditView->GetOutputArea().GetHeight();
if (pEditView->GetVisArea().Top() > nMaxVisAreaStart)
{
- Rectangle aVisArea(pEditView->GetVisArea() );
+ tools::Rectangle aVisArea(pEditView->GetVisArea() );
aVisArea.Top() = (nMaxVisAreaStart > 0 ) ? nMaxVisAreaStart : 0;
aVisArea.SetSize(pEditView->GetOutputArea().GetSize());
pEditView->SetVisArea(aVisArea);
@@ -528,7 +528,7 @@ void SmEditWindow::KeyInput(const KeyEvent& rKEvt)
}
}
-void SmEditWindow::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect)
+void SmEditWindow::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect)
{
if (!pEditView)
CreateEditView();
@@ -584,18 +584,18 @@ IMPL_LINK( SmEditWindow, ScrollHdl, ScrollBar *, /*pScrollBar*/, void )
OSL_ENSURE(pEditView, "EditView missing");
if (pEditView)
{
- pEditView->SetVisArea(Rectangle(Point(pHScrollBar->GetThumbPos(),
+ pEditView->SetVisArea(tools::Rectangle(Point(pHScrollBar->GetThumbPos(),
pVScrollBar->GetThumbPos()),
pEditView->GetVisArea().GetSize()));
pEditView->Invalidate();
}
}
-Rectangle SmEditWindow::AdjustScrollBars()
+tools::Rectangle SmEditWindow::AdjustScrollBars()
{
const Size aOut( GetOutputSizePixel() );
Point aPoint;
- Rectangle aRect( aPoint, aOut );
+ tools::Rectangle aRect( aPoint, aOut );
if (pVScrollBar && pHScrollBar && pScrollBox)
{