From 35e13c7ec530a46cc0c92cf986231acece3afd2a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 22 May 2015 10:37:31 +0200 Subject: convert WINDOW_POSSIZE constants to scoped enum Change-Id: Id85137ffc7309a66b04132d588d289db136117b9 Signed-off-by: Jan Holesovsky --- sc/source/ui/dbgui/csvruler.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc/source/ui/dbgui') diff --git a/sc/source/ui/dbgui/csvruler.cxx b/sc/source/ui/dbgui/csvruler.cxx index fb139634a1a2..aab46e9d2e5c 100644 --- a/sc/source/ui/dbgui/csvruler.cxx +++ b/sc/source/ui/dbgui/csvruler.cxx @@ -113,9 +113,9 @@ void ScCsvRuler::dispose() // common ruler handling ------------------------------------------------------ void ScCsvRuler::setPosSizePixel( - long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags ) + long nX, long nY, long nWidth, long nHeight, PosSizeFlags nFlags ) { - if( nFlags & WINDOW_POSSIZE_HEIGHT ) + if( nFlags & PosSizeFlags::Height ) nHeight = GetTextHeight() + mnSplitSize + 2; ScCsvControl::setPosSizePixel( nX, nY, nWidth, nHeight, nFlags ); } -- cgit