diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-27 12:06:16 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-07-28 08:35:34 +0200 |
commit | 4eeeec899f44d2010189251c0f09120ade202dd8 (patch) | |
tree | 244f1d354d70cc54697acdf05db0025b05d0aa27 /forms | |
parent | 01075a7274bd3921501d382a71720581a48bfd66 (diff) |
convert RGCHK constants to scoped enum
Change-Id: Iafeae0f85f751469900471cf8fccd5f763407890
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/richtext/richtextimplcontrol.cxx | 4 |
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; } |