summaryrefslogtreecommitdiff
path: root/sc/source/ui/dbgui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-22 10:37:31 +0200
committerJan Holesovsky <kendy@collabora.com>2015-05-29 20:16:53 +0200
commit35e13c7ec530a46cc0c92cf986231acece3afd2a (patch)
tree4128389b8f8f5ddb29d78642fc978bbad94b3f37 /sc/source/ui/dbgui
parenta5e58e66d82a63d99ced4ed8a42c38ed6179aa6c (diff)
convert WINDOW_POSSIZE constants to scoped enum
Change-Id: Id85137ffc7309a66b04132d588d289db136117b9 Signed-off-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'sc/source/ui/dbgui')
-rw-r--r--sc/source/ui/dbgui/csvruler.cxx4
1 files changed, 2 insertions, 2 deletions
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 );
}