summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/prevwsh.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-14 10:39:01 +0200
committerNoel Grandin <noel@peralex.com>2015-05-14 12:00:40 +0200
commit741d9990bf9d9dfcba1166a12ffb1d846c912181 (patch)
treeda1b7e64be04904ce98ab143b47022125e14041d /sc/source/ui/view/prevwsh.cxx
parentf30ce25c3c5954eb90e126dd4904eee5454f044c (diff)
convert QUICKHELP constants to scoped enum
Change-Id: Ie7302c909feb2e83b8b5e62a5e6a1f901783fb49
Diffstat (limited to 'sc/source/ui/view/prevwsh.cxx')
-rw-r--r--sc/source/ui/view/prevwsh.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/prevwsh.cxx b/sc/source/ui/view/prevwsh.cxx
index 7b72aba9a170..e0e05990006b 100644
--- a/sc/source/ui/view/prevwsh.cxx
+++ b/sc/source/ui/view/prevwsh.cxx
@@ -446,7 +446,7 @@ IMPL_LINK (ScPreviewShell,ScrollHandler, ScrollBar* ,pScroll )
Point aPos = pScroll->GetParent()->OutputToNormalizedScreenPixel( pScroll->GetPosPixel() );
OUString aHelpStr;
Rectangle aRect;
- sal_uInt16 nAlign;
+ QuickHelpFlags nAlign;
if( nDelta < 0 )
{
@@ -474,7 +474,7 @@ IMPL_LINK (ScPreviewShell,ScrollHandler, ScrollBar* ,pScroll )
aRect.Top() = aMousePos.Y();
aRect.Right() = aRect.Left();
aRect.Bottom() = aRect.Top();
- nAlign = QUICKHELP_BOTTOM|QUICKHELP_CENTER;
+ nAlign = QuickHelpFlags::Bottom|QuickHelpFlags::Center;
Help::ShowQuickHelp( pScroll->GetParent(), aRect, aHelpStr, nAlign );
}
}