summaryrefslogtreecommitdiffstats
path: root/forms
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-27 12:06:16 +0200
committerNoel Grandin <noel@peralex.com>2015-07-28 08:35:34 +0200
commit4eeeec899f44d2010189251c0f09120ade202dd8 (patch)
tree244f1d354d70cc54697acdf05db0025b05d0aa27 /forms
parentinline the "old" SbxErr constants (diff)
downloadcore-4eeeec899f44d2010189251c0f09120ade202dd8.tar.gz
core-4eeeec899f44d2010189251c0f09120ade202dd8.zip
convert RGCHK constants to scoped enum
Change-Id: Iafeae0f85f751469900471cf8fccd5f763407890
Diffstat (limited to 'forms')
-rw-r--r--forms/source/richtext/richtextimplcontrol.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/richtext/richtextimplcontrol.cxx b/forms/source/richtext/richtextimplcontrol.cxx
index a37190d987ad..6fe4348311bf 100644
--- a/forms/source/richtext/richtextimplcontrol.cxx
+++ b/forms/source/richtext/richtextimplcontrol.cxx
@@ -320,14 +320,14 @@ namespace frm
IMPL_LINK( RichTextControlImpl, OnHScroll, ScrollBar*, _pScrollbar )
{
- m_pView->Scroll( -_pScrollbar->GetDelta(), 0, RGCHK_PAPERSZ1 );
+ m_pView->Scroll( -_pScrollbar->GetDelta(), 0, ScrollRangeCheck::PaperWidthTextSize );
return 0L;
}
IMPL_LINK( RichTextControlImpl, OnVScroll, ScrollBar*, _pScrollbar )
{
- m_pView->Scroll( 0, -_pScrollbar->GetDelta(), RGCHK_PAPERSZ1 );
+ m_pView->Scroll( 0, -_pScrollbar->GetDelta(), ScrollRangeCheck::PaperWidthTextSize );
return 0L;
}