diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-27 14:05:45 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-28 12:47:06 +0200 |
commit | a086ca18987a91543a65a3965b2bbc4c022400f8 (patch) | |
tree | 77b2183d290cbdcb25f33d35b629da955ad3d035 /svtools | |
parent | 4c93c30c79ae885d488a8a04d383fe5308a1d520 (diff) |
convert AUTOSCROLL constants to scoped enum
Change-Id: Id1d2b5c13ad6af05314cba60ba5b9a62e0683f5e
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/imivctl1.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx index 07221d55d7cf..118008cd0da5 100644 --- a/svtools/source/contnr/imivctl1.cxx +++ b/svtools/source/contnr/imivctl1.cxx @@ -2143,12 +2143,12 @@ bool SvxIconChoiceCtrl_Impl::HandleScrollCommand( const CommandEvent& rCmd ) case CommandEventId::StartAutoScroll: { pView->EndTracking(); - sal_uInt16 nScrollFlags = 0; + StartAutoScrollFlags nScrollFlags = StartAutoScrollFlags::NONE; if( bHor ) - nScrollFlags |= AUTOSCROLL_HORZ; + nScrollFlags |= StartAutoScrollFlags::Horz; if( bVer ) - nScrollFlags |= AUTOSCROLL_VERT; - if( nScrollFlags ) + nScrollFlags |= StartAutoScrollFlags::Vert; + if( nScrollFlags != StartAutoScrollFlags::NONE ) { pView->StartAutoScroll( nScrollFlags ); return true; |