diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-02 14:57:18 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-09-05 08:21:46 +0200 |
commit | 04a8ba2084950f998d791edad29739c124c8c4b8 (patch) | |
tree | df1b3f1a5d5a56ff89300292ade6f6976e16b436 /extensions | |
parent | a1cd62bcd589a7c1050e327f4cb0ad95f9ea19d1 (diff) |
convert ScrollType to scoped enum
Change-Id: I6dd02d4f7df028dada6cfd5d767a6ec1b1c1efe1
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/propctrlr/browserlistbox.cxx | 2 | ||||
-rw-r--r-- | extensions/source/propctrlr/taborder.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/propctrlr/browserlistbox.cxx b/extensions/source/propctrlr/browserlistbox.cxx index 5012c4938771..81d905084fbb 100644 --- a/extensions/source/propctrlr/browserlistbox.cxx +++ b/extensions/source/propctrlr/browserlistbox.cxx @@ -865,7 +865,7 @@ namespace pcr { PositionLine((sal_uInt16)nThumbPos); } - else if (nDelta!=0 || m_aVScroll->GetType() == SCROLL_DONTKNOW) + else if (nDelta!=0 || m_aVScroll->GetType() == ScrollType::DontKnow) { UpdatePlayGround(); } diff --git a/extensions/source/propctrlr/taborder.cxx b/extensions/source/propctrlr/taborder.cxx index 4d7ce611b304..0880464a2616 100644 --- a/extensions/source/propctrlr/taborder.cxx +++ b/extensions/source/propctrlr/taborder.cxx @@ -389,9 +389,9 @@ namespace pcr long nFirstVisible = GetModel()->GetAbsPos( FirstVisible()); if ( ( nThumbPos + nVisibleSize + 1 ) < (long)( nLastSelPos + 3 ) ) - GetVScroll()->DoScrollAction(SCROLL_LINEDOWN); + GetVScroll()->DoScrollAction(ScrollType::LineDown); else if((nThumbPos+nVisibleSize+1) >= (nFirstVisible)) - GetVScroll()->DoScrollAction(SCROLL_LINEUP); + GetVScroll()->DoScrollAction(ScrollType::LineUp); } } } |